Doofy
2007-02-28 17:01:21
Hey I'm new to this site but I'm decent at scripting. Anyways, I was just wondering if anyone could give me a working procedure or function that looks for messages in the chatbox in RS and responds if there are any words that you want to respond to.
I have this one:
Function CheckChatMsg(Text: String) : Boolean;
Begin
Result:= IsTextAtEx(20, 415, Text, 40, ChrChatChars, False, True, 0, 1, 0);
End;
I got it from this site but it doesn't seem to be working for me… what includes should I have? When I try SSi2 it didn't work and when I had SRL and SSi2 it worked. Idk, but please help!
I have this one:
Function CheckChatMsg(Text: String) : Boolean;
Begin
Result:= IsTextAtEx(20, 415, Text, 40, ChrChatChars, False, True, 0, 1, 0);
End;
I got it from this site but it doesn't seem to be working for me… what includes should I have? When I try SSi2 it didn't work and when I had SRL and SSi2 it worked. Idk, but please help!