Jason2gs
03-03-2007, 03:09 AM
Ok.
I'm fixing up my AutoResponder, but I need some help with a couple commands.
This one checks the ENTIRE chat box, but that's not what I want. I want it to do what InChat does, but I wanted different coords.
As you can see, it checks for the current player's nickname.
if(FindChatText(Players[CurrentPlayer].nick))then
This one SHOULD do the same thing (FindChatText uses it), except for the coords being changed to only check the name part of the last message.
if(FindText(x, y, Players[CurrentPlayer].nick, SmallChars, 20, 415, 106, 430))then
FindChatText uses SmallChars, so I know it's not that.
THe problem is... The one I'm wanting to use (the latter of the two) doesn't ignore my messages.
I'm fixing up my AutoResponder, but I need some help with a couple commands.
This one checks the ENTIRE chat box, but that's not what I want. I want it to do what InChat does, but I wanted different coords.
As you can see, it checks for the current player's nickname.
if(FindChatText(Players[CurrentPlayer].nick))then
This one SHOULD do the same thing (FindChatText uses it), except for the coords being changed to only check the name part of the last message.
if(FindText(x, y, Players[CurrentPlayer].nick, SmallChars, 20, 415, 106, 430))then
FindChatText uses SmallChars, so I know it's not that.
THe problem is... The one I'm wanting to use (the latter of the two) doesn't ignore my messages.