Adblock breaks this site

How to give your script a 'stop' hotkey

Discussion in 'RuneScape Scripts' started by s2h6699, Mar 22, 2010.

  1. s2h6699

    s2h6699 Newcomer

    Joined:
    Mar 7, 2010
    Posts:
    12
    Referrals:
    0
    Sythe Gold:
    0
    How to give your script a 'stop' hotkey

    Just make this the ending of your loop. You can edit the number from 1-12 for each function key. I choose 8 because it doesn't do anything in IE.

    until(IsFKeyDown(8))

    To make it so it is jokered to stop at the press of F8 OR upon completing a certain number of loops use this.

    until(IsFKeyDown(8)) or (x=2501);

    In a complete program it would look like this:

    Program New;
    var
    x:integer;
    (*Your Var's*)

    (*Your Procedures*)

    begin
    repeat

    (*Your looping shit*)

    //WriteLn((x)) (*Only use this if you want to see what loop number your shit is on by deleting the two slashes before the W*)
    x:=x+1
    until(IsFKeyDown(8)) or (x=2501);

    This will continue for 2500 loops or 2.5 seconds.

    Happy Botting with better stop jokers/hotkeys!! =)



    Clicking the 'Thanks' and Rep+ button ain't never hurt noone. =D
     
< Auto Superheater? | A Timer Script I made >


 
 
Adblock breaks this site