• Log in or sign up for an account here: https://www.sythe.org/login

How to give your script a 'stop' hotkey

s2h6699

Newcomer
Joined
Mar 7, 2010
Sythe Gold
0
Messages
12
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
 
Runescape Gamblingrunescape gambling
Back
Top