mIRC Home    About    Download    Register    News    Help

Print Thread
#53791 11/10/03 10:03 PM
F
fred999
fred999
F
How do I make the script stop in the code without having reached the end yet?

Like something like this:

if ($2 isnum) {
exit here ; How do I exit here?
}
else {
... continue
}

... continue stuff here.


thanks

#53792 11/10/03 10:55 PM
Joined: Dec 2002
Posts: 1,893
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,893
Use /return

#53793 11/10/03 10:56 PM
Joined: Jan 2003
Posts: 149
J
Vogon poet
Offline
Vogon poet
J
Joined: Jan 2003
Posts: 149
/help /halt
/help /return

#53794 12/10/03 12:06 AM
F
fred999
fred999
F
thanks

i was looking for "end" or "quit" or "exit" but couldn't find anything. so it's return


Link Copied to Clipboard