#IfWinActive, ahk_exe gta_sa.exe
#SingleInstance Force
ListLines Off
SetBatchLines -1
chatlog := A_MyDocuments "\RADMIR CRMP User Files\SAMP\chatlog.txt"
F5::
FileRead, Str, %chatlog%
StringReplace, Str, Str, rn, n, 1
StringReplace, Str, Str, r, n, 1
RegExMatch("`n" Str "`n"...