Alright I got a chance to test that and it didn't work, but this does
Put it in the hotkeys section of the code
Code:
F10:: ;turn it on
Msgbox "Here"
tablecolor:= ""
last_table_id := ""
tablequeue := ""
most_urgent_table := ""
GoSub, RefreshLobby
GoSub, TableColor
SetTimer, RefreshQueue, %RefreshQueue_timer%
SetTimer, PopUpWatcher, %PopUpWatcher_timer%
SetTimer, RefreshLobby, %RefreshLobby_timer%
GuiControl, 1:Disable, On
GuiControl, 1:Enable, Off
return
F12:: ;turn it off
Msgbox "Here"
SetTimer, RefreshQueue, Off
SetTimer, PopUpWatcher, Off
SetTimer, RefreshLobby, Off
SetTimer, TableColor, Off
Gui, 2: Cancel
Gui, 3: Cancel
Gui, 4: Cancel
Gui, 5: Cancel
tablecolor:=""
GuiControl, 1:Disable, Off
GuiControl, 1:Enable, On
return
Things might not work correctly because I removed the Suspend call.