~ Toggles pause and DEL exits the script.
Code:
Global $Paused
HotKeySet("`", "TogglePause")
HotKeySet("{DEL}", "Terminate")
$a = InputBox( "Question", "Delay between clicks?", "11250" )
WinWaitActive( "Darkfall Online" )
Sleep( 2000 )
While 1
MouseClick( "Left" )
Sleep( $a )
WEnd
Func TogglePause( )
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('Script is "Paused"',0,0)
WEnd
ToolTip("")
EndFunc
Func Terminate( )
Exit 0
EndFunc






