Многим будет полезно) F9:: SendMessage, 0x50,, 0x4190419,, A log = %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt FileDelete %log% FileAppend %log% SendInput, {F6}/patrul{enter} sleep 1500 SendMessage, 0x50,, 0x4190419,, A FileRead, info, %log% RegExMatch(info," Диспетчер: В вашем районе найден подозреваемый: (.*)_(.*)", nick) FileDelete %log% FileAppend %log% SendInput, {F6}/id %nick1%_%nick2%{enter} sleep 1000 FileRead, info, %log% RegExMatch(info," Игрок (.*)_(.*)", id) FileDelete %log% FileAppend %log% SendInput, {F6}Подозреваемый - %id1% %id2%.{enter} return