IfWinActive GTA SA MP way A_MyDocuments GTA San Andreas User Files SAM

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
#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