Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- numpad9::
- sendinput {f6}/id Lewis_Flow{enter}
- sleep 1150
- loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- if RegExMatch(A_LoopReadLine, "^\[\d{2}\:\d{2}\:\d{2}\] ID\: \((\d+)\) (.*);?", lastidtarget)
- {
- myId := lastidtarget1
- }
- if RegExMatch(A_LoopReadLine, "^\[\d{2}\:\d{2}\:\d{2}\] ID\: \((\d+)\) (.*) \{\w{6}\}<PAUSE\: \d+ sec\.?>", lastidtarget)
- {
- myId := lastidtarget1
- }
- }
- sendinput {f6}Мой ID: %myId%{enter}
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement