Results 1 to 4 of 4

Thread: My basic script

  1. #1
    Join Date
    Mar 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default My basic script

    a basic script for me to watch when cursing. however i always get this error, i just cant see where its going wrong.

    Line 16: [Error] (16:1): Invalid number of parameters in script
    line 16 is line with until

    SCAR Code:
    program easycurse;
    var
    x,y: Integer;
    color:integer;
    const
    MageColor= 2369896;
    begin
    repeat
    MoveMouseSmooth(672,262)
    wait(100+random(100))
    clickmouse(672,262,true)
    wait(200+random(100))
    FindColor(x,y,MageColor,0,0,600,600)
    movemousesmooth(x,y)
    clickmouse(true)
    until (isfkeydown(1):true)
    end.


    any help appreciated

  2. #2
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    At the end of true put another )

  3. #3
    Join Date
    Mar 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    still same error, but that would have come up next

  4. #4
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    clickmouse(true)
    you have to put clickmouse(x,y,true).
    i but i suggest using MMouse and Mouse instead of Clickmouse and movemouse
    Clickmouse and movemouse=BAN

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. A Basic Scar Tutural Script
    By Dankness in forum Outdated Tutorials
    Replies: 11
    Last Post: 10-10-2008, 10:50 PM
  2. VERY Basic Script help
    By Wahbee in forum OSR Help
    Replies: 2
    Last Post: 12-05-2007, 02:38 AM
  3. Need some basic help.
    By r3dr4g0n in forum OSR Help
    Replies: 6
    Last Post: 10-01-2007, 11:27 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
  •