Jump to content
Sign in to follow this  
xZZTx

Need Some If Help

Recommended Posts

xZZTx

Well idk how to write it but

if $on = 0 longer then 3 sec then exit

how do i do that?


Sorry For Any Spelling / Grammar Errors I May Make.... I Failed English Wayyyy To Many Times..

Share this post


Link to post
Share on other sites
xZZTx

K....

how can i make the script exit of the variable On = 0 for more then 3 sec


Sorry For Any Spelling / Grammar Errors I May Make.... I Failed English Wayyyy To Many Times..

Share this post


Link to post
Share on other sites
thenewkid

while 1
if $on = 0 then
$counters += 1
    if $counters = 6 then
       exit
    endif
sleep(500)
wend

i think that will work

Edited by thenewkid

some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with

Share this post


Link to post
Share on other sites
xZZTx

thx ill try it


Sorry For Any Spelling / Grammar Errors I May Make.... I Failed English Wayyyy To Many Times..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.