Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !numpadDiv::
- plswitch := false
- sendchat("/pl")
- sleep 300
- send, {enter}
- sleep 300
- loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- if RegExMatch(A_LoopReadLine, "^\[\d{2}:\d{2}:\d{2}\] \* Ответ принят\: " clipboard " вышел при аресте и посажен в тюрьму строгого режима\.")
- {
- plswitch := true
- }
- }
- if (plswitch)
- {
- send, /q arrest[P][%A_MDAY%.%A_MM%.%A_Year% %A_Hour%:%A_Min%]{enter}
- }
- else
- {
- send, /q arrest[%A_MDAY%.%A_MM%.%A_Year% %A_Hour%:%A_Min%]{enter}
- }
- sleep 300
- send, %clipboard%{enter}
- sleep 300
- send, {esc}
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement