quote:
Originally posted by mrhuge
The idea of your plugin sounds cool! What do those Perl commands actually do?
Some dictionary commands, for example: !vandale <woord> that uses LWP to get the definition from vandale.nl (dutch dictionary). (actually I use DBI and an mysql-server first to see if i already have a definition for that word stored, and if not then i use LWP and the site to get it and store it in my database)
also have some translating dictionaries and a acronym lookup command, using the same principle, mainly for the dutch language.
things like !weather, !tv , !train <city> <city> to get weather information for the next day, what's on tv right now, and train hours ... all using LWP offcourse.
small commands like !calc 10+45+cos(45) that calculates the expression.
the usual things you can do easily with perl
A whole lot of personal commands I use to acces information on my pc quickly.
now i'm working on this command that does a grep of the logfile of the person that is chatting with me. So people can search in my logfiles.
and a little command i'm planning to do later on, for my girlfriend so she can trigger a toast popup when i'm not responding on msn and wants to get my attention
and a command to add perlcode to be executed on all the following messages in the current conversation.
only just discovered your DK, so i'm in the process of modyfing all those commands to get it better integrated in the new architecture. (like I used to have 1 global persistant Database connection, for now with your DK i always make a new connection for every command that gets triggered.)