Guest User

Untitled

a guest
May 29th, 2017
38
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ~home::
  2. if (!isInChat())
  3. {
  4.     loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  5.     {
  6.         if RegExMatch(A_LoopReadLine, "^\[\d{2}\:\d{2}\:\d{2}\] \* Вы ударили тазером (.*), он обездвижен на 10 секунд\.", s)
  7.         {
  8.             tazertarget := s1
  9.         }
  10.     }
  11.     if (tazertarget)
  12.     {
  13.         sendchat("/cuff " tazertarget)
  14.     }
  15. }
  16. return
RAW Paste Data