by Spikey
F2::
sendinput {f6}/id Les_Shadow{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}Связаться со мной можно в личные сообщения (( /w %myId% )){enter}
sleep, 1150
sendinput {f6}/b Для оплаты - воспользуйтесь: /pay %myId% 60000{enter}
return