code.gushue.net ~ marp scripts
Scripts used on the MARP IRC channel
About MARP
MARP, or the MAME Action Replay Page, is a site dedicated to uploading recordings of MAME games for high score competition. General rules are one credit only, and no cheating. More information can be found on the MARP page itself.
I've uploaded a number of scores myself - some good, some bad - and started to organize the community a little more. I've been more or less running (more like maintaining, the people there are great) the IRC channel, and now the forums for the site where people can talk about the games and the site and any tournaments we have. For the IRC channel, I've hacked together a few scripts to make things easier, and give people things to talk about.
Leaderboard listings
- leaderboard.pl - Someone on the channel can type
%lb gamenameand get a list of the top 3 (by default) scores on a game - leaderboard.tcl - The little bit of TCL required to interface with the eggdrop bot
Upload announcements
- mailtools.pl - Based on a mailtools script, this parses the upload announcement emails and sends the announcement to the IRC channel
- mailtools.tcl - I haven't bothered to strip this part of it down very much, I can't stand TCL
MAME game name searching
- mamename.pl - This allows easy searching (using
%mame search-string) for a game in MAME/MARP - mamename.tcl - Again, very minimal TCL for the bot
The future
A friend of mine has been writing an infobot-like bot using Python, so I'd like to switch some of these scripts to that bot instead of using eggdrop and TCL. Or at least find some other minimal Perl based bot, since that is what these scripts are written in.