Jump to content
Sign in to follow this  
TerarinK

Pausing in a script

Recommended Posts

TerarinK

Is it possible that upon pausing your script your script, unpausing will bring it forth to a function just like a fail safe function? If not I understand, will just have to set a pausing function with a Hotkey then


0x576520616C6C206469652C206C697665206C69666520617320696620796F75207765726520696E20746865206C617374207365636F6E642E

Share this post


Link to post
Share on other sites
Skrip

Sleep?

or maybe something like...

Hotkeyset("h", "fail")
Do
Sleep(100)
Until $failsafe = 1

Func fail()
$failsafe = 1
EndFunc

I am not sure I completely understand.

Edited by Firestorm

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites
TerarinK

The pausing of the script (look down in the right corner for the icon right-clicking it brings up Pause or Exit). That pause would signal for something to happen, then you could execute a function whenever that signal is located. If not then I would use my HotKey instead that have a sleep function.

All I'm asking for is it anyone knew the code for pausing the script and reactivating them


0x576520616C6C206469652C206C697665206C69666520617320696620796F75207765726520696E20746865206C617374207365636F6E642E

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.