#NoEnv
SendMode, Input
#IfWinActive GTA:SA:MP
playerid := 0 ; Starts at this ID
loops := 500 ; End ID (Might want to edit this)
F10::
Send, {Enter}
Loop, %loops%
{
if(playerid < loops)
{
Send, t/pm %playerid% ENTER MESSAGE{Enter}
Sleep, 1000 ; Milliseconds before the next message is...