Okay, this would be really cool. How about this: The bot would check if the user has any "system messages" and then put it after the normal bot response (in another color, maybe red):
Quote:
thebotsusername: Yes, I agree! [SYSTEM MESSAGE: You have been promoted from a Moderator to a Super-Moderator.] Type /confirm to confirm that you have seen this notice.
Just a thought, but you could type /confirm to confirm that you've read the system message, then it would stop showing up after every message.
The way that this could work is it'd open a ".txt" file for the user, then print the system message into it (whenever you wanted to put a system message for the user... like if you were promoting/demoting them, or whatever ... maybe if you have new Bot-Mail, it all would depend on your bot). /confirm would delete that .txt file..
I know you could always just have the bot send one message, but this is much more interesting and fun, haha.
sub confirm {<br /> # <get whatever from the shift here><br /><br /> # See if they have any messages.<br /> if (-e "./messages/$user.txt" == 1) {<br /> # Delete the file.<br /> unlink ("./messages/$user.txt");<br /> return "Your system messages have been erased.";<br /> }<br /> else {<br /> return "You do not have any messages.";<br /> }<br />}<br />1;
That's the basic idea, unlink(FILE) is the delete command, you should be able to go from there. _________________ Current Site (2008) http://www.cuvou.com/
Yup, hehe. It was just an idea, if I created it, I wouldn't really have any use for it... I don't have a bot hierarchy other than just admins and other users. Maybe I'll add one in though. I'm thinking of creating a new bot.