MrBot
Currently online in the major RS channels as MrBot.
See http://www.rebelsquadrons.org/irc/bot.help for instructions on using the bot.
todo
Necessary before "v1.0"
if MrBot is not "online" -- two instances of the script are most likely running, causing this -- provide appropriate error message and notify IO.either respond to PM commands that don't use !, or tell the person to use !. The former option is nice but requires much more coding. ("noob help" mechanism)- further standardize error messages? -- make everything work like !op
"Target change too fast" (439) - attempt to redo action in the appropriate amount of time- recognize kicks/bans
- Find out what's causing the occasional fwrite() errors (note: for now almost all of the fwrites have a @ prefixed as a temporary solution, since the "log off" mode isn't specifically checked for yet)
- (re)connecting: lots of php errors generated -- need to suppress some (especially related to sockets, since we use error-handling for that)
- (RS profiles) add "last seen on IRC"
- (Website) Make it possible to edit stuff via website.
- (Website) IRC in left menu bar, figure out /irc/ folder, update /chat/ a little bit more - need to put /irc/tutorial.html back up (see http://icte.darkjedibrotherhood.com/schedule.html)
other updates to consider
- (!seen) searchroster(): search ABG chars too
- seen: recursive nick checks? licah|afk has not /nick'd LicahEvlDead, so there are now two results for "licah" while licah is licah|afk (because of different hostmasks)
- logs: consider making monthly archives of logs for filesize purposes
- Scrambler: !pause?
- Scrambler: option for private games
- !lookup - should take a parameter of how many results - default to 2 instead of 5?
- !logout ability
expanded functionality
- (Games) trivia / hangman / wheel of fortune
- dictionary def: !def can use http://www.mso.anu.edu.au/~ralph/OPTED/ -- !etym can use http://www.etymonline.com/index.php?term=zephyr -- add links to urbandictionary and a comprehensive dictionary site for definitions that seem to fail (answers.com?)
- add support to reconnect to MySQL if the service is rebooted and/or the connection doesn't exist. Makes bot more robust, and we can restart mysql service as needed.
- I kinda want to revamp ICTE a lot and start awarding idle points, like the plan was for ORW3. That would involve some bot stuff, too. We can set that up with auto-on and auto-off for MrBot... it could be a completely automated ICTE system.. some sweet stuff could happen. It'd take a fair amount of time, but not as much as you might think. let's think about it.. also, maybe icte.rs.org? since it's going to be a major site of its own. Or, maybe just rs.org/icte will still work. That's a whole project to consider.. woot
- (RS-wide merits) add support for the two potential bot things
- (Stats) add support for line-counting, etc.
- keep track of everyone's status (+v, +o)
- !access doesn't work without providing a channel name - providing this ability would be tricky, since 1,2,3 are pins as well. Should be doable in some fashion.
Scrambler logs
- do some RS lists (can pull automatically from db and format -- like ABG chars, medals, etc)
- add logs from other scrambler (morelogs.rar)
- List of unusual words -- huge. http://phrontistery.info/a.html