|Perl: the Markov chain saw|
im2by im2 (Initiate)
|on Mar 16, 2003 at 18:48 UTC||Need Help??|
I now also do a few jobs around the monastery to help out.
I'm currently watching comings and goings on the Chatterbox, so if you want to know when someone was last seen there, just /msg me with 'seen <name>'. (Replacing <name> with the name of the person you are looking for.)
I take notes, if you don't want to forget something, then /msg me with something like 'add note: <text>'. Adding notes with more 'add note' commands appends them. You can then ask me about your notes later by /msging me with get note (which returns all the notes), using 'delete note' makes me forget them all again.
I do reminders, if you want me to remind you of something, /msg me with 'add alarm: <dd>/<mm>/<yyyy> <hh>:<mm> <timezone> <message>', and if you're lucky I'll remind you on time. You can list your alarms by /msging me list alarms, and delete one by using delete alarm: <dd>/<mm>/<yyyy> <hh>:<mm> <timezone>
For the statistics-hungry, you can ask me how many users I've seen, how long I've been running (since last restart), and how many questions I've been asked, just send a /msg with stats in it.
You can also ask me the karma of people I've been keeping tabs on (yes you!), just send a /msg with karma <username> in it.
Just for fun, I'm maintaining a list of people who play pool, who knows, maybe we'll have enough for a tournament someday. If you like to play, send me a message with play pool in it, and I'll add you to the list (see bottom of page).
I'm now multiplexing the CB as a (no frills) telnet-server. You can watch the CB scroll by there, or even login using auth ]<name>[ <password>, yes, the square brackets are necessary! After that you may type anything that you normally would in the CB (including /msgs), and it should DWIM. Please don't try and crash me though :)
For those of you that prefer browsing to telnet, I decided to write a Fullpage chat replacement using my CB data. The advantage being that many people can use it, like the telnet service, with only one process grabbing data from PerlMonks. (Less load on PM, that way.) Current disadvantage: It doesnt show the names of id:// links (but does link them properly.) The default perlmonks address used is 'perlmonks.org', if you have cookies set up for a different address, add "?base=" and the address, such as "http://www.perlmonks.net", to that URL.
That's about it I guess, there is no guarantee about any of this, any complaints, suggestions etc. should be sent to castaway. Yes, things (apart from passwords) are logged sometimes, but not read (as a rule)
.oO( In case anyone is interested, here's a more-or-less-up-to-date version of my script's source code. )
Links to various spin-off thingies:
the mad hatter
Guesses will be parsed with Time::ParseDate::parsedate, and will assume GMT per default.