mIRC Home    About    Download    Register    News    Help

Print Thread
#118652 27/04/05 05:45 PM
R
rhkenji
rhkenji
R
a command that pauses script parsing

example commands

wait (seconds) - wait (seconds) seconds before parsing the rest of the script..

waitwhile (if statement) - dnt parse the rest of the code while the (if statement) is true

#118653 27/04/05 07:02 PM
Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
A "wait" command would be useful. Much nicer and cleaner than using other methods to pause a script.

#118654 27/04/05 09:07 PM
Joined: Dec 2002
Posts: 206
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Dec 2002
Posts: 206

#118655 27/04/05 10:53 PM
D
DaveC
DaveC
D
re: wait (seconds) - wait (seconds) seconds before parsing the rest of the script..
^
I was going to say its takes a timer & 1 line of code & a goto point: to enable this, but that does have the drawback that $identifiers & local vars are lost/altered, so a built in one would be nice, if just for those features (the local vars i think might be the problem children)


re: waitwhile (if statement) - dnt parse the rest of the code while the (if statement) is true
^
i dont like this it would be task intensive unless you could specificy how often it should reevaluate, and if your dioing that you might as well just use an IF statment in the code and a WAIT suggested above


Link Copied to Clipboard