im trying to make my bot filter messages sent by users. the bot runs on xat and what i want it to do is kick the user twice for a warning, and then after number 3 ban them. i can do the kick and commands but i dont know how to filter the text or take note of how many times they were warned.
Source code: http://pastebin.com/HqCA2CLP