"Dyslexics retyping hosts file on servers",
"The Internet is being scanned for viruses.",
"Your computer's union contract is set to expire at midnight.",
-"Bad user karma.",
+"Bad reputation.",
"/dev/clue was linked to /dev/null",
"Increased sunspot activity.",
"We already sent around a notice about that.",
def help(plugin, topic="")
"excuse => supply a random excuse"
end
- def privmsg(m)
- excuse = @@excuses[rand(@@excuses.length)]
- m.reply excuse
+
+ def excuse(m, params)
+ m.reply @@excuses.pick_one
end
end
plugin = ExcusePlugin.new
-plugin.register("excuse")
+plugin.map "excuse"