summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/games/azgame.rb
AgeCommit message (Collapse)Author
2020-04-15refactor: wordlist shouldn't use bot singleton #35Matthias Hecker
also related to #41 and #6
2013-08-19azgame: fix pattern to check search resultsMatthias H
2013-08-18azgame: catch scraping errorMatthias H
2013-08-18fixes azgame: changed dictionary urlMatthias H
2009-02-19remove whitespaceRaine Virta
2009-02-15+ @bot.path and datafile methodsGiuseppe Bilotta
We provide two methods that make it more simple and elegant for botmodules to define paths relative to the bot's own directory (botclass) and to the BotModule's (assumed) non-registry directory. The first method is Irc::Bot#path(), which joins its arguments with the botclass. This method can be used to access datafiles in the bot directory with a much cleaner syntax; and since it uses File.join, the resulting paths are also properly formatted on each platform, which doesn't hurt. Each BotModule now also carries a dirname() method that should return the directory under botclass that holds the BotModule's datafiles. dirname() defaults to the BotModule's name(), but it can be overridden, e.g. for backwards compatibility (see the patch for the quotes plugin), or for BotModules that share their datafiles. Datafiles can be accessed using the BotModule#datafile() method that joins the botclass, the dirname() and whatever other argument is passed.
2009-01-27azgame plugin: use Wordlist providerGiuseppe Bilotta
2008-11-17azgame plugin: support autoadding words to wordlistGiuseppe Bilotta
When the game is started with a wordlist it's possible to specify a language to use for existence of words. When a word is not found in the wordlist, it's checked against the given language check function, and if present it's added to a specific file (autoadd-#{language}), which is also used on load to choose the word to pick.
2008-11-17azgame plugin: sort wordlist on loadGiuseppe Bilotta
2008-11-17azgame plugin: strip BOM during wordlist loadingGiuseppe Bilotta
2008-11-17azgame plugin: borked wordlist loading with previous patchGiuseppe Bilotta
2008-11-17azgame plugin: show available languages and wordlists in helpGiuseppe Bilotta
2008-11-17azgame plugin: generic wordlist mechanismGiuseppe Bilotta
Make the wordlist mechanism general. Any language which has no special support can be used, as long as a wordlist is provided.
2008-04-07+ use the message() delegate instead of listen() when possibleGiuseppe Bilotta
2008-03-04Unixify all line endings.Giuseppe Bilotta
Some files had DOS-style line endings. Change all of them to Unix-style.
2007-12-04azgame plugin: whitespace cleanupGiuseppe Bilotta
2007-11-01azgame plugin: better handling of late checksGiuseppe Bilotta
2007-10-31azgame: another missing parenthesisGiuseppe Bilotta
2007-10-30azgame: longer timeout when checking italian wordsGiuseppe Bilotta
2007-10-29azgame: thread word check so that online checking doesn't blockGiuseppe Bilotta
2007-10-21azgame: missing closing parenthesis in messageGiuseppe Bilotta
2007-10-21azgame: fix score calculationGiuseppe Bilotta
2007-07-15gettextized two messages in azgame missed in the previous revisionYaohan Chen
edited Japanese translation
2007-07-14modified azgame to use gettextYaohan Chen
added Japanese translation for azgame
2007-04-11use pretty printing with Logger (debug, info, warning and error messages)Giuseppe Bilotta
2007-04-08plugins: use CGI.escape instead of URI.escape where appropriate, remove some ↵Giuseppe Bilotta
checks for InvalidURIs that don't make sense anymore, irficy some more html
2007-03-30*** (httputil) major rework, new caching implementation, unified requestDmitry Kim
processing + (httputil) post support, partial request support, other features - (httputil) removed partial_body() and get_cached() [merged into get()] * (plugins/, utils) minimal changes to accomodate for the new http_utils * (utils, ircbot) moved utils initialization into utils.rb * (tube.rb) (partially) accomodate for upstream site layout changes
2007-03-16Plugins: move games into their own directoryGiuseppe Bilotta