Post Reply Home » Forums » EverQuest 2 » EverQuest 2 Premium Discussions

Pause/escape feature for Pickled's Recipe Crafter : EverQuest 2 Premium Discussions

Posted: March 10th, 2005
tault_loraik
This will allow you to pause the script and allow you to type by using the "Pause/Break" key then unpause it when done typing by pressing the "Pause/Break" key again. When paused you will see a msg in the upper left that says "Script is "Paused"".

I feel it is a nice addition to the crafting script in the event you need to stop mid-stream to talk to your local GM.

Code: Select all

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;; Place at top of script just under the last Global varible ;;;;;;;;;;

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;; Place at very bottom of script ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

Posted: March 10th, 2005
User avatar
Total Posts:1390 Joined:2004
Hell yeah, that always annoyed me. I'll give ya 10 points coz its a macro, but its only small.
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 29 guests
Post Reply