MrBot: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
* logs: consider making monthly archives of logs for filesize purposes | * logs: consider making monthly archives of logs for filesize purposes | ||
* 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?) | * 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?) | ||
* !def - take out links; for only 2 definitions, should likely provide both of those definitions. | * <del> !def - take out links; for only 2 definitions, should likely provide both of those definitions. </del> | ||
* 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. | * 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. | ||
* This isn't exactly about an improvement to the bot per se, but using Ajax I ought to be able to adapt the bot's code to make an IRC client to run off the RS site. It'll be very similar to cgi:irc, however.. so if I can get that working instead, then we can just use that. | * This isn't exactly about an improvement to the bot per se, but using Ajax I ought to be able to adapt the bot's code to make an IRC client to run off the RS site. It'll be very similar to cgi:irc, however.. so if I can get that working instead, then we can just use that. | ||
Line 30: | Line 30: | ||
* (Stats) add support for line-counting, etc. | * (Stats) add support for line-counting, etc. | ||
* (self-awareness) "You're not channel operator" - recognize who's op and who's not | * (self-awareness) "You're not channel operator" - recognize who's op and who's not | ||
* (!access) error messages aren't terribly helpful | * <del> (!access) error messages aren't terribly helpful </del> | ||
* (logs) add kicks | * (logs) add kicks | ||
* (RS profiles) add "last seen on IRC" | * (RS profiles) add "last seen on IRC" | ||
Line 38: | Line 38: | ||
* (!seen) searchroster(): search ABG chars too | * (!seen) searchroster(): search ABG chars too | ||
* <del>!cs nick (or char) would be nice for ABG</del> | * <del>!cs nick (or char) would be nice for ABG</del> | ||
* !uptime (how long bot has been logged in) | * <del>!uptime (how long bot has been logged in)</del> | ||
* 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) | * 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) | ||
* !lookup - should take a parameter of how many results - default to 2 instead of 5? | * <del>!lookup: specify how many more results there are.</del> | ||
* !lookup - should take a parameter of how many results - default to 2 instead of 5? | |||
=== Scrambler logs === | === Scrambler logs === |
Revision as of 01:47, 3 July 2008
Currently online in the major RS channels as MrBot.
See http://www.rebelsquadrons.org/irc/bot.help for instructions on using the bot.
todo
- RS Trivia. Use the new scrambler codebase.
- hangman/wheel of fortune (using scrambler codebase)
- Scrambler: !pause
- 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)
- (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)
- 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
- 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?)
!def - take out links; for only 2 definitions, should likely provide both of those definitions.- 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.
- This isn't exactly about an improvement to the bot per se, but using Ajax I ought to be able to adapt the bot's code to make an IRC client to run off the RS site. It'll be very similar to cgi:irc, however.. so if I can get that working instead, then we can just use that.
- 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
- (re)connecting: lots of php errors generated -- need to suppress some (especially related to sockets, since we use error-handling for that)
- further standardize error messages? -- make everything work like !op
- joining channels not on the main list... roll etc. will not work. it's needed for simming.
- people are trying to use !commands, !list, hello, help -- provide, I guess.
- icte needs !clear for when the bot breaks and doesn't turn icte off. or just clear waitlists when icte mode is turned on.
!signup "already signed in": just "You", does not use nick.- !say generates "not logged in" error message to target channel, not to original channel
- if MrBot is not "online" -- two instances of the script are most likely running, causing this -- provide appropriate error message and notify IO.
- rolling in private channels: default to "on" unless channel is listed explicitly as "off"
- (owner) !automode doesn't work. owner should automatically be granted managerial access, and be able to automode etc.
- (RS-wide merits) add support for the two potential bot things
- (Stats) add support for line-counting, etc.
- (self-awareness) "You're not channel operator" - recognize who's op and who's not
(!access) error messages aren't terribly helpful- (logs) add kicks
- (RS profiles) add "last seen on IRC"
(reconnect) join default channels if shut off without !quit (accidental disconnection)- netsplits not handled very well... make sure still connected using ping/pong
- "Target change too fast" (439) - attempt to redo action in the appropriate amount of time
- (!seen) searchroster(): search ABG chars too
!cs nick (or char) would be nice for ABG!uptime (how long bot has been logged in)- 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)
!lookup: specify how many more results there are.- !lookup - should take a parameter of how many results - default to 2 instead of 5?
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