So I have the most basic of chat commands:
class ExampleChatCommand : public ChatCommandClass {
void Triggered(int ID,const TokenClass &Text,int ChatType) {
Send_Message(255,255,255,StrFormat("Example.").c_str());
}
};
ChatCommandRegistrant<ExampleChatCommand> ExampleChatCommandReg("!example;!EXAMPLE",CHATTYPE_ALL,0,GAMEMODE_ALL);
!example works
!EXAMPLE works
But what if I was typing fast and did !Example
I've been searching for a way to disable case-sensitivity for awhile but haven't found anything useful yet.
Any pointers would help a lot.
[Updated on: Sat, 17 January 2009 22:03]
Report message to a moderator