Results 1 to 5 of 5

Thread: how come this does not work?

  1. #1
    Join Date
    Apr 2007
    Posts
    166
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default how come this does not work?

    program New;
    {.include srl/srl.scar}
    var x, y:Integer;
    begin
    wait(2000)
    if isUpText('axe')then;
    typesend('yay')
    if not isUpText('axe')then;
    typesend('noooooo')
    end.



    it says yay noooooo even if its finds or does not find isUpText('axe')

    plz can somone tell me why

  2. #2
    Join Date
    Aug 2007
    Location
    England
    Posts
    734
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Try SCAR tags for starters then you want
    SCAR Code:
    program New;
    {.include srl/srl.scar}
      var x, y:Integer;
    begin
      wait(2000)
        if(isUpText('axe'))then;
          typesend('yay')
        if not (isUpText('axe'))then;
          typesend('noooooo')
    end.

    Try taht remember its case sensetive... and typesend writes to runescape you want Writeln('') if you want to go to the debug box
    The truth finally came out...


  3. #3
    Join Date
    Apr 2007
    Posts
    166
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok but that script is the exact same to what i posted

  4. #4
    Join Date
    Aug 2007
    Location
    England
    Posts
    734
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I put in some brackets and standardized it, if you dont tell me what is wrong with it i cant fix it
    The truth finally came out...


  5. #5
    Join Date
    Apr 2007
    Posts
    166
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok -.-




    SCAR Code:
    program New;
    {.include srl/srl.scar}
      var x, y:Integer;
    begin
      wait(2000)
        if(isUpText('axe'))then;
          typesend('yay')
        if not (isUpText('axe'))then;
          typesend('noooooo')
    end.

    when i run this script it types both yay and nooooo even if it finds ('axe') or not

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how come this does not work?
    By takeout in forum OSR Help
    Replies: 3
    Last Post: 09-14-2007, 03:44 PM
  2. how come this does not work?
    By takeout in forum OSR Help
    Replies: 2
    Last Post: 09-11-2007, 09:19 PM
  3. Been Trying To Get This To Work : /
    By Speci in forum OSR Help
    Replies: 15
    Last Post: 07-21-2007, 12:17 PM
  4. how does rc work
    By del_signo in forum OSR Help
    Replies: 4
    Last Post: 05-10-2007, 02:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •