ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: sark on March 14, 2013, 10:55:00 AM

Title: Simple question about pause
Post by: sark on March 14, 2013, 10:55:00 AM
Hi, i know that the pause command temporarily stops the execution of the current script. But there is an alternative that allows you to pause ALL scripts of easyUO?

Thanks  :)
Title: Re: Simple question about pause
Post by: manwinc on March 14, 2013, 11:52:36 AM
You would have to use a Global Variable

Either through Namespaces or Through Registry.

Example

set *Mwinc_Pause #True
wait 1200 ; 1 Minute
set *Mwinc_Pause #False ; Sets the Global Variable back to False
halt

Then in your other scripts you would add this line to its cycle


if *Mwinc_Pause = #True
Pause
Title: Re: Simple question about pause
Post by: Khameleon on March 14, 2013, 12:48:18 PM
there used to be a way, but for some reason cheffe removed it... it used to be the CAPS lock key