#IfWinActive, GTA:SA:MP
way = %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
Loop
{
FileDelete, %way%
Loop, Read, %way%
{
if (InStr(A_LoopReadLine," победила в снежной битве со счетом "))
{
sleep, 200
sendchat("/snow")
sleep, 300
SendInput, {Down} {Enter}
Sleep, 300
SendInput, {Down} {Enter}
}
}
}
!2::ExitApp
!1::Reload