Results 1 to 8 of 8

Thread: Basic Scar Command?

  1. #1
    Join Date
    Aug 2008
    Location
    Chineese-Mexican
    Posts
    109
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Basic Scar Command?

    Hey, i was just trying to make a script cause im bored and kinda tryin to learn scripting and heres wat i put
    SCAR Code:
    program New;

    begin
    ClickMouse (-186, -513, False)

    end.
    Could someone please tell me what the command thing is to select an option from the list that appears when it right clicks... im not using it for rs right now, so im not worried about the like Mouse and MMouse commands or like if it well b detected im just practicing... So how would i make it choose and option from the right click menu...?? ty

  2. #2
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    If it's not for RS, there is no command to do it. You'll have to make your own.

  3. #3
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    for rs use:

    ChooseOption('whatever text you want it to click');

    not for rs just make it click coords

  4. #4
    Join Date
    Aug 2008
    Location
    Chineese-Mexican
    Posts
    109
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    alright thanks guys..
    but i just tried one for R.S and when i would do it i dragged the cross hair on the rs window then started it and it didnt go to the runescape box, it stayed on the scar window then right clicked in scar...
    heres the script;
    SCAR Code:
    program New;
    {.include srl/srl.scar}

    begin
    ActivateClient;
    ClickMouse (582, 233, False)
    Wait (500)
    ChooseOption('examine')

    end.

  5. #5
    Join Date
    Mar 2008
    Location
    ::1
    Posts
    915
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Two things...
    a. Call SetupSRL; before everything else.
    b. Use mouse instead of clickmouse or you will get banned.

    Here is an example of a.
    SCAR Code:
    program hi;
    {.include SRL/srl.scar}
    begin
       SetupSRL;
       ActivateClient;
       // The rest of the script
    end.

    Records and Types Save Code (and make you look better)
    Quote Originally Posted by Wizzup? View Post
    Is it possible to make Runescape a 2D game with this?... That would greatly simplify... Just about anything.

  6. #6
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by jumbosped View Post
    alright thanks guys..
    but i just tried one for R.S and when i would do it i dragged the cross hair on the rs window then started it and it didnt go to the runescape box, it stayed on the scar window then right clicked in scar...
    heres the script;
    SCAR Code:
    program New;
    {.include srl/srl.scar}

    begin
    ActivateClient;
    ClickMouse (582, 233, False)
    Wait (500)
    ChooseOption('examine')

    end.
    Have some wait times after using the ActivateClient, also add SetupSRL at the beginning of your main loop (above ActivateClient and below begin)
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  7. #7
    Join Date
    Mar 2008
    Location
    ::1
    Posts
    915
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Dan, could you give us an example of the wait times for ActivateClient;, I've never heard of doing that before. I must use smart to much.

    Records and Types Save Code (and make you look better)
    Quote Originally Posted by Wizzup? View Post
    Is it possible to make Runescape a 2D game with this?... That would greatly simplify... Just about anything.

  8. #8
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Something like

    SCAR Code:
    Wait(999)
    Something close to one sec

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Aser's Tutorial for basic SCAR scripting.
    By Aser in forum OSR Outdated Tutorials
    Replies: 10
    Last Post: 03-12-2009, 01:43 AM
  2. SCAR command list?
    By MetalancA in forum OSR Help
    Replies: 10
    Last Post: 06-08-2008, 10:09 AM
  3. Basic help with SCAR!
    By Winguh in forum OSR Help
    Replies: 3
    Last Post: 05-18-2008, 03:35 PM
  4. What command do i use to make scar press F6 or F5???
    By Ilikepie1995 in forum OSR Help
    Replies: 9
    Last Post: 07-05-2007, 09:25 PM

Posting Permissions

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