Page 1 of 1

command line to stop a certain script

Posted: 2006-05-22 21:37:51
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

Posted: 2006-05-22 22:14:08
by Mihail
you can use

Code: Select all

return

or

Code: Select all

uo.closeuo()

Posted: 2006-05-22 22:17:39
by DerMeister =)
ОТЖОГ =) а можно еще и uo.shutdownwindows(normal/forced) использовать =)

Posted: 2006-05-22 23:15:06
by Grin
What do you mean? Put it sleep or end script?

Posted: 2006-05-23 01:10:57
by Scripts Writer

Code: Select all

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