until now i have this
#include <Array.au3>
While 1
$var1 = ControlGetText("TeamSpeak 2","","TRichEditWithLinks2")
sleep(2000)
$var2 = ControlGetText("TeamSpeak 2","","TRichEditWithLinks2")
If $var1 = $var2 Then
;;
Else
$avarray = StringSplit($var2, @LF)
$LastRowText = _ArrayMax($avarray)
MsgBox(0, "", $avarray[$LastRowText])
Endif
Wend
and that doesnt seem to work only gives an empty msgbox with really nothig in it
i also tested your script on a notepad window with same text as example but also gives empty msgbox