mIRC Home    About    Download    Register    News    Help

Print Thread
end script #53791 11/10/03 10:03 PM
Joined: Sep 2003
Posts: 9
F
fred999 Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
F
Joined: Sep 2003
Posts: 9
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

Re: end script #53792 11/10/03 10:55 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Use /return

Re: end script #53793 11/10/03 10:56 PM
Joined: Jan 2003
Posts: 150
J
J0ke Offline
Vogon poet
Offline
Vogon poet
J
Joined: Jan 2003
Posts: 150
/help /halt
/help /return


Go ahead, jump. 100,000 lemmings can't be wrong.
Re: end script #53794 12/10/03 12:06 AM
Joined: Sep 2003
Posts: 9
F
fred999 Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
F
Joined: Sep 2003
Posts: 9
thanks

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