Thread: MegaHAL ChatBot
View Single Post
jasonfrog
Senior Member
Join Date: Mar 2008
Old 05-24-2011 , 13:39   Re: MegaHAL ChatBot
Reply With Quote #6

Quote:
Originally Posted by Afronanny View Post
The files will only update when megahal exits. Everything else is stored in memory.


Also, try re-downloading the plugin. I added a check so it will not reply to chat commands.
Perhaps I'm being a little silly here, but what makes megahal exit?

Thanks for making the update. I'm wondering, won't this make it ignore anything that contains an '!' anywhere, rather than at the beginning?
Code:
if (StrContains(arg1, "!") == 0 || StrContains(arg1, "/") == 0)
Maybe this instead?
Code:
new char = arg1[0];
if (char != '!' && char != '/')
jasonfrog is offline