Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include samp.ahk
- while(true)
- {
- Sleep 50
- FileRead, file, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- Sleep, 50
- if (RegExMatch(getChatLineEx(), "^\{FF8C00\}SMS:\s(.*)\{FFFF00\}.*\{FF8C00\}\|\s\{FFFF00\}.*:\s([A-Za-z_]+)\s\(тел. ([0-9]+)\)", sms))
- {
- Sleep, 350
- addChatMessageEx("{FFFFFF}","{FFFFFF}• {FFFFFF}[{ffa500}SMS{FFFFFF}]: Вам написал(а) {ffa500}" sms2 ", {FFFFFF}чтобы ответить нажмите ({ffa500}END{FFFFFF})")
- }
- }
- End::
- {
- SendInput, {f6}/sms %sms3%{space}
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement