Advertisement
Guest User

Untitled

a guest
Nov 28th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Numpad1::
  2. MY_MSG :=
  3. MY_MSG1 :=
  4. MY_MSG2 :=
  5. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6.     IfInString, A_LoopReadLine, ] {E69A00}[A]
  7.         IfInString, A_LoopReadLine, {E6C600}/
  8.             MY_MSG := A_LoopReadLine
  9. SendMessage, 0x50,, 0x4190419,, A
  10. RegExMatch(MY_MSG, "_(.*) \[.*\]: \{E6C600\}(.*)", MY_MSG)
  11. If MY_MSG
  12. SendInput {f6}%MY_MSG2%%MY_MSG1%
  13. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement