#WinActivateForce GTA:SA:MP
file = %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
FileDelete, %file%
FileAppend, ,%file%
num = 0
lpp:
Loop
{
FileRead, read, %file%
sleep, 50
IfInString, read, Вы тут?
{
sleep, 2000
Sendinput,{F6}Да, а что?{Enter}
FileDelete, %file%
FileAppend, ,%file%
}
num ++
sleep, 10
if num = 500
goto, clear
}
return
clear:
FileDelete, %file%
FileAppend, , %file%
goto, lpp