Results 1 to 3 of 3

Thread: Line 56 Error please help!

  1. #1
    Join Date
    Mar 2013
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default Line 56 Error please help!

    [Error] C:\Simba\Includes\P07Include.simba(57:51): Invalid number of parameters at line 56
    Line: 56 Mouse(RandomRange(X1,X2),RandomRange(Y1,Y2),0,0)

  2. #2
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    1,351
    Mentioned
    2 Post(s)
    Quoted
    72 Post(s)

    Default

    This shouldn't be in the programming section. But to answer your question, you forgot the click type:

    Simba Code:
    { Mouse(mousex, mousey, ranx, rany: Integer; button: Variant); }
    Mouse(RandomRange(X1, X2),RandomRange(Y1, Y2), 0, 0, True); //Left click
    Mouse(RandomRange(X1, X2),RandomRange(Y1, Y2), 0, 0, False); //Right click

  3. #3
    Join Date
    Mar 2013
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Now it's giving me that Q.Q [Error] C:\Simba\Includes\P07Include.simba(58:1): Unknown identifier 'Mouse' at line 57

    Mouse(RandomRange(X1, X2),RandomRange(Y1, Y2), 0, 0, True); //Left click
    Mouse(RandomRange(X1, X2),RandomRange(Y1, Y2), 0, 0, False); //Right click

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
  •