Wicket - dodgy Java IRC bot
Wicket was a bot which helped to protect some IRC channels on the blitzed.org network.
It also exhibited some stupid cat-like behaviour as well as performing a few useful duties. Wicket retired some years back but still serves
as a decent example of how to write a Java IRC bot.
Why and what?
- Wicket: The original idea for the bot was to report the cricket scores and kick lamers
(using Hugo's infamous cricket bat). After some debate the name Wicket was agreed on.
- dodgy: The bot was only ever a hack, it's been tidied up a bit but it's for fun, it's not
supposed to be a software engineering masterpiece.
- Java: Yes it's written in Java.
- IRC: irc.blitzed.org (#hants and #dorset)
- Bot: Wicket: what are you? * Wicket is a big kittie
I can't remember why it ended up being a cat.
What kicked it off:
Apr 10 23:32:34 <Wyvern> isn't there some kind of balcklist for IRC?
...
Apr 10 23:36:43 <editorgal> we could set a bot...
...
Apr 10 23:38:33 <MonkeyBoy> a "hi" bot
Apr 10 23:38:45 <Wyvern> use an eliza bot
Apr 10 23:38:48 <hugo> A cricket bot. :)
Apr 10 23:38:52 <editorgal> yes!
Apr 10 23:39:05 <MonkeyBoy> a bot that kick bans if you message it might be an idea
...
Apr 11 02:46:39 <MonkeyBoy> Wicket is go
Apr 11 02:46:46 <-- Wicket has kicked dumbass from #hants
Apr 11 02:46:46 --- Wicket sets ban on *!*@*.zen.co.uk
Apr 11 02:46:55 <MonkeyBoy> w00t!
Get Wicket:
In the spirit of Open Source I have made the code available on this site. Some people expressed an
interest in either writing plugins for us to use or running Wicket on another irc network.
See the download page. You never know, maybe someone will find it useful for something.
Features
An incomplete list of stuff that Wicket does:
- Allow banning across channels with one command.
- Play Russian Roulette.
- Do random cat-like things
- Respond in kitty ways to things she hears people say.
- Track and ban bouncing clients.
- Bankick lamers who spam on join.
Credits
Thanks to everyone who has helped make Wicket - it's been a laugh. Special thanks to Hugo, Neil, Heather, Rob and Popey.