Code: Select all
^!p::Pause
Esc::ExitApp
^!r::
Loop
{
Sleep, 100
Loop, 12
{
/* reload page to join the VIP server */
Sendinput, {^r}
Loop
{
/* check if that start button has appeared, if so, start the game */
target := 0x1780B5
MouseMove, 969, 876
MouseMove, 968, 876
PixelGetColor, startbutton, 971, 876
Sleep, 500
}
Until startbutton = %target%
MouseClick
/* Move towards starting area */
Send, {a down}
Sleep, 50
Send, {e}
Sleep, 250
Send, {a up}
Send, {s down}
Sleep, 200
Send, {s up}
}
}
return
Sorry if this question was very basic, I am just starting out.