Results 1 to 6 of 6

Thread: WaitOption doesn't work

  1. #1
    Join Date
    Nov 2011
    Location
    Australia
    Posts
    418
    Mentioned
    2 Post(s)
    Quoted
    86 Post(s)

    Default WaitOption doesn't work

    begin;
    Result := True;
    GetMousePos(fx, fy);
    Mouse(fx, fy, 0, 0, false);
    WaitOption('down',500);
    Wait(2000+random(350));
    Break;
    end;
    end;

    I'm using it like that, but it doesn't work very annoying. Works in other scripts tried change the string multiple times and nothing.

  2. #2
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    Try debugging, after you right click on the object do something like

    Wait(600);
    Writeln(Getchooseoptions('all');

    That will print what options it is seeing so you can see what is wrong

  3. #3
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Tutorial section is for tutorials that teach, not questions.

    Make sure you have the proper things capitalized if needed.
    Try increasing the wait time, but 500 should be sufficient hmm.
    Screenshot of the menu please?

  4. #4
    Join Date
    Nov 2011
    Location
    Australia
    Posts
    418
    Mentioned
    2 Post(s)
    Quoted
    86 Post(s)

    Default

    Quote Originally Posted by ashaman88 View Post
    Try debugging, after you right click on the object do something like

    Wait(600);
    Writeln(Getchooseoptions('all');

    That will print what options it is seeing so you can see what is wrong
    this is the result:
    New window: 1114792
    Compiled successfully in 281 ms.
    SRL Compiled in 0 msec
    []

    @Yohojo


  5. #5
    Join Date
    Nov 2011
    Location
    Australia
    Posts
    418
    Mentioned
    2 Post(s)
    Quoted
    86 Post(s)

    Default

    Can anyone help with this please pretty frustrating.

  6. #6
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Blakebn2011 View Post
    Can anyone help with this please pretty frustrating.
    Are you sure ur graphics are set correctly? That choose options menu is darker and the text colour is extremely bright cyan.

    Try:

    Simba Code:
    MMouse(X, Y, 0, 0);
    if (WaitUptextMulti(['hop', 'chop', 'oak'], 600)) then
    begin
         ClickMouse2(MOUSE_RIGHT);
         WaitOptionMulti(['hop', 'chop', 'oak'], 1200);
    end;
    I am Ggzz..
    Hackintosher

Thread Information

Users Browsing this Thread

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

Posting Permissions

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