Jump to content

Pausing in a script


TerarinK
 Share

Recommended Posts

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

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...