Results 1 to 3 of 3

Thread: Easy Question for the Competent Scriptor

  1. #1
    Join Date
    Feb 2007
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default Easy Question for the Competent Scriptor

    [[[SOLVED!]]]

    Im a total noob, only trying to edit someone else script in order to make it run how i want it to.

    Okay so I'm trying to get a random click (either single left, single right, or double left click)

    Here is the code, but I don't know how to have multiple commands for the double left click... I've tried comma's, "and", "+"...


    begin
    randomWaitTime;
    case random(100) of
    1..70: Clickmouse2(mouse_left);
    71..91: ClickMouse2(mouse_right);
    92..100: ClickMouse2 (mouse_left) + Wait(randomRange(50, 150) + ClickMouse2 (mouse_left);

    end;
    Last edited by php123; 04-17-2013 at 07:38 PM.

  2. #2
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Simba Code:
    92..100: begin
               ClickMouse2(mouse_left);
               Wait(randomRange(50, 150));  
               ClickMouse2(mouse_left);
             end;
    Last edited by Sjoe; 04-17-2013 at 07:09 PM.

    Creds to DannyRS for this wonderful sig!

  3. #3
    Join Date
    Feb 2007
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Yes! Thanks

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
  •