Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #RequireAdmin
- HotKeySet("{F10}", "_toggle_tooltip")
- HotKeySet("{F11}", "_exit")
- AdlibRegister("_Send_key",30000)
- Global $tooltip = True
- $timer = TimerInit()
- While 1
- $timer_diff = TimerDiff($timer)
- If $timer_diff > 1000 And $tooltip = True Then
- _tooltip()
- $timer = TimerInit()
- ElseIf $tooltip = False Then
- ToolTip("",0,0)
- EndIf
- WEnd
- Func _Send_key()
- $title = WinGetTitle("[CLASS:ArcheAge]", "")
- ControlSend($title, "", "", "{space down}")
- Sleep(120)
- ControlSend($title, "", "", "{space up}")
- EndFunc
- Func _toggle_tooltip()
- $tooltip = Not $tooltip
- EndFunc
- Func _tooltip()
- ToolTip("F10: Toggle Tooltip" & @CRLF & "F11: Quit Anti-AFK" & @CRLF & "© Paraly",0,0,"Archeage Anti-AFK")
- EndFunc
- Func _exit()
- Exit
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement