mIRC Home    About    Download    Register    News    Help

Print Thread
#118652 27/04/05 05:45 PM
Joined: May 2003
Posts: 13
R
rhkenji Offline OP
Pikka bird
OP Offline
Pikka bird
R
Joined: May 2003
Posts: 13
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,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
A "wait" command would be useful. Much nicer and cleaner than using other methods to pause a script.


Invision Support
#Invision on irc.irchighway.net
#118654 27/04/05 09:07 PM
Joined: Dec 2002
Posts: 208
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Dec 2002
Posts: 208


If I knew now what I will know then... maybe things will have been different...
#118655 27/04/05 10:53 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
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