Results 1 to 6 of 6

Thread: How to make scripts toggle RUN

  1. #1
    Join Date
    Oct 2008
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How to make scripts toggle RUN

    hi, im not very familiar with scripting but im trying to figure out some stuff but i just cant figure out how to make toggle run into some scripts...

    i'd be glad if someone told me how



    Thanks in advance!

  2. #2
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    SetRun(True); Sets run
    SetRun(False); Unsets run
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  3. #3
    Join Date
    Oct 2008
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thanks, i'll try it

  4. #4
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    if you wish to only turn run on at a certain energy you can do:

    RunEnergy(MinEnergy: integer);

    so if you want to run when you have 50 or more energy you could do:

    RunEnergy(50);

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  5. #5
    Join Date
    Feb 2009
    Location
    AZ, USA
    Posts
    460
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by lowstyle View Post
    hi, im not very familiar with scripting but im trying to figure out some stuff but i just cant figure out how to make toggle run into some scripts...

    i'd be glad if someone told me how



    Thanks in advance!
    You should look through your includes folder in SCAR if you want to see some of the functions/procedures in SRL. I believe there is also an online manual for SRL.
    Is your account in an old-school random? Help SRL-OSR solve randoms!

  6. #6
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

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
  •