ok I did not know how to search for this so I did not search but if ya can tell me what I shoiuld use in a search to find stuff on this Please do so

ok I am trying to write a script that will log people that swear BUT the people that swear are NOT in the channel but in a game and the bot puts in channel what the player said so how would i make it take the first thing after the bots name -(minus) the : and save that as the name

example

<gameBOT> player1: your a stupid swearword

I would like to make it write something like "player1 said swearword 12:34 pm" to a txt file that change on date ie

swears.20070706.log
swears.20070707.log

I would like it to read a file of swear words I define but will not trigger like on words assume as the word ass I am still trying to relearn scripting with mIRC so please be gentle (so if you can suggest anything beside the mirc help to read please do so)