January 31st, 2004, 07:07 PM
@Strike: the '.' is to distinguish a command typed in the channel from every day words. Some people use a '!' prefix, but I chose a period.
January 31st, 2004, 09:08 PM
XxChris: okay, so you're hardcoding that?
netytan: actually, it is the message. "PRIVMSG" is the command, according to the RFC standard, and the stuff that follows is the message.
January 31st, 2004, 09:45 PM
@Strike: Yeah I'm harcoding it. It's only going to have a few commands, and I'm not going to have much account management. By the why, we were referring to commands given to the bot, not those sent out by the bot to the server.
Thanks for your help guys.
February 1st, 2004, 07:13 AM
Re Netytan: Yeah, rfind works. I was more thinking of regular expressions than find.
February 1st, 2004, 07:45 AM
How would ah i see, in that case yeah you'd probably have to reverse the string; i dont know of any way to search backwards from the re module.
The one time i did use IRC (with MIRC) i ended up with 7 viruses in the 10 minutes i was on there so i wont be doing that again!!!