From: Footy
Hey guys, Which color do I use when trying to find a PM in the chatbox? Since this function was written, the ability to change text color was added, so I'm not sure if clfriend will still work.
Thanks in advance,
Footy
I just grab whatever color I want to check for, for example for urns I use this:
Function FindRedChatMessage(ChatMsg: string): Boolean;
Begin
Result := (Pos(ChatMsg, GetChatBoxText(7, 127)) > 0);
If Not Result Then
Result := (Pos(ChatMsg, GetChatBoxText(8, 127)) > 0);
End;
127 is the color I got from using the color picker