Well, i've created a function to grab the chat lines and it works. Here's an Example:
SCAR Code:
1:
2: Where wheres.. Mah mah.. Cupcakkkkkkkke!!!
3: Ibis.
4: Lucky
5: Hey guitar
6: Wasup
7: Can i borrow dfs
8: ?
here's the function:
SCAR Code:
function SaveChatText: string;
var
C : integer;
ChatRoom : string;
begin
C := 1;
repeat
ChatRoom := GetChatBoxText(C,clChat);
Result := ChatRoom;
Writeln(IntToStr(C)+': '+ChatRoom);
C := C + 1;
until(C > 8)
end;
I got the hard part done. But now i'm confused on how to get scar to get that text and do a check to see if it says certain words. And if it does, to respond to them. Can anyone help me?
~Des