Results 1 to 4 of 4

Thread: Little question

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

    Little question

    I want to go down a ladder but sometimes it misses and thats my problem. How can i make my script so it keeps trying until it goes down?

    My ladder godown procedure

    If (FindObjMultiText(TX, TY, 'La', 'dd', 'er', 2708852, 4)) then
    Begin
    Mouse(TX, TY, 3, 3, False)
    Wait(200+random(50))
    ChooseOption(x,y,'Climb')
    Flag;
    Wait(800+random(50))

  2. #2
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    mouse(x,y,3,3,false);
    and wouldnt it be 'climb', or whatever is opposite of climb
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  3. #3
    Join Date
    Aug 2006
    Posts
    408
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Dan I think it's "climb down"

  4. #4
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    If (FindObjMultiText(X, Y, 'limb down', 'limb up', 'adder', 2708852, 4)) then
    Begin
    Mouse(X, Y, 3, 3, False)
    Wait(500+random(150))
    ChooseOption(x,y,'Climb')
    Wait(2000+random(100))
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. i has a question
    By Solkrieg in forum OSR Help
    Replies: 5
    Last Post: 10-30-2008, 08:20 AM
  2. tab 5 question
    By dvdcrayola in forum OSR Help
    Replies: 4
    Last Post: 07-04-2008, 06:43 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
  •