Results 1 to 5 of 5

Thread: Syntax

  1. #1
    Join Date
    Jun 2007
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Syntax

    i have just gotten interested in scripting and have a few questions


    used on some tuts i have read there has been something like
    SCAR Code:
    FFlag(5)

    whats that?


    how do i work mmouse?


    after this power choper here i come!

    (that will be my first script!

  2. #2
    Join Date
    Nov 2006
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    dont bother with fflag yet, its for walking, and for mmouse, what it does is it moves your cursor to a certain coordinate use it like this: mmouse(10,10,2,2);
    this moves your cursur to 10,10 but with a randomness of 2, everytime the first value is for the x and the second for the y
    Infractions, reputation, reflection, the dark side of scripting, they are.

  3. #3
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    FFlag(5); waits until the flag on the minimap is in 5 pixels from the minimap center.
    FFlag(10); would wait until it is 10 pixels in range from the mm center, and so on.

    MMouse is Movemouse, like Mouse but doesn't click.
    params are

    MMouse(x, y, randx, rany);

    EDIT: grr.. i've been beaten :P

  4. #4
    Join Date
    Jun 2007
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well thanks for the help

    would mmouse(10,10,0,0) make the clicking random every time? i have seen this in tuts and i never understood

    also excpect a finished product of my fist ever script!

  5. #5
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    the (x, y, randx, randy)

    x, y is where you want to click.

    randx, randy are the random it will add/subtract. if you put 0,0 for both it won't be random at all.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SRL 4 Syntax for Disguising
    By Macros in forum OSR Help
    Replies: 1
    Last Post: 09-28-2008, 11:19 PM
  2. Syntax Highlighter
    By nielsie95 in forum Research & Development Lounge
    Replies: 22
    Last Post: 09-28-2008, 01:44 PM
  3. Syntax error...
    By faster789 in forum OSR Help
    Replies: 2
    Last Post: 03-24-2008, 02:29 PM
  4. Syntax Error
    By me_ntal in forum OSR Help
    Replies: 1
    Last Post: 02-14-2007, 02:44 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
  •