#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetKeyDelay 0
SetMouseDelay 0
SetTitleMatchMode 2
SetNumLockState, On
GroupAdd rotmg, Realm of the Mad God
GroupAdd rotmg, realmofthemadgod
GroupAdd rotmg, AGCLoader
GroupAdd rotmg, Play Realm of the Mad God
GroupAdd rotmg, Adobe Flash Player 10
GroupAdd rotmg, Adobe Flash Player 11
GroupAdd rotmg, Adobe Flash Player 12
GroupAdd rotmg, Adobe Flash Player 13
GroupAdd rotmg, Adobe Flash Player 14
GroupAdd rotmg, Adobe Flash Player 15
Suspend on
WinNotActive()
WinActive()
{
Suspend Off
WinWaitNotActive ahk_group rotmg
{
WinNotActive()
}
}
WinNotActive()
{
Suspend on
WinWaitActive ahk_group rotmg
{
WinActive()
}
}
; E-Mail
::email:
EMAIL HERE
MsgBox You typed "Email".
return
; password
::password::
PASSWORD HERE
MsgBox You typed "password".
; sends clipboard to the chat using the enter key.
ek:
Blockinput, on
Send {Enter}
Send ^v
Send {Enter}
Blockinput, off
Return