command line to stop a certain script

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
Nettertje
Posts: 5
Joined: 2006-04-30 19:24:28

command line to stop a certain script

Post by Nettertje »

i want to make my script stop in an IF loop

Code: Select all

if b=10 then
stop script  ==> what's the command line for this?
else
do something
Mihail
Expert!
Posts: 548
Joined: 2005-05-20 20:30:10
Contact:

Post by Mihail »

you can use

Code: Select all

return

or

Code: Select all

uo.closeuo()
DerMeister =)
Expert!
Posts: 1032
Joined: 2006-02-25 21:48:38

Post by DerMeister =) »

ОТЖОГ =) а можно еще и uo.shutdownwindows(normal/forced) использовать =)
DerMeister сейчас на нейрале!
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

What do you mean? Put it sleep or end script?
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post by Scripts Writer »

Code: Select all

uo.Exec('terminate "name of script"')
Post Reply