Persistent Include udfr1 ahk chatLog A_MyDocuments GTA San Andreas Use

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#Persistent
#Include udfr1.ahk
!1::
chatLog := A_MyDocuments "\GTA San Andreas User Files\SAMP\Chatlog.txt"
addChatMessageEx("FFFFFF","Som")
lastline := getNewLine(chatLog)
if RegExMatch(lastline, " Сом ", out)
Sendinput, {f6}/q{enter}
return