F1::
loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
{
if RegExMatch(A_LoopReadLine, "^\[\d{2}:\d{2}:\d{2}\] \[PL\] >>> (.*?)\[(.*)\] \(.*?\) вошёл на сервер\.", result)
lastplname := result1
}
if (lastplname)
SendInput, {F6}/w %lastplname%{space}
return
Жмешь F1 - пишешь сообщение сам последнему челу, который засветился в /pl