version 0.1.1 - few cosmetic fixes
authorHarvie <tomas@mudrunka.cz>
Wed, 2 Jun 2010 18:44:11 +0000 (20:44 +0200)
committerHarvie <tomas@mudrunka.cz>
Wed, 2 Jun 2010 18:44:11 +0000 (20:44 +0200)
TODO
answerscripts.c
purple/answerscripts.d/menu.pl

diff --git a/TODO b/TODO
index 4b4bdc3..e9841ee 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,4 +1,3 @@
 TODO:
   * process everything asynchronously
-       * general speed improvement
        * more example scripts (user contributions welcome)
index ff722c3..f8e03fe 100755 (executable)
@@ -96,7 +96,7 @@ static PurplePluginInfo info = {
 
        "core-answerscripts",
        "AnswerScripts",
-       "0.1",
+       "0.1.1",
        "Framework for hooking scripts to received messages for various libpurple clients",
        "This plugin will call ~/.purple/" ANSWERSCRIPT " (or wherever purple_user_dir() points) "
                "script (or any executable) for each single message called."
index c2f48d6..5c0c593 100755 (executable)
@@ -12,4 +12,5 @@ switch ($ENV{PURPLE_MSG}) {
        case /^!google/ { print "UTFG Yourself: http://google.com/"; }
        case /^!uptime$/        { print qx{uptime}; }
        case /^!date$/  { print qx{date}; }
+       case /^!dmesg$/ { print qx{ dmesg | tail -n 5 | tr '\n' '^' } }
 }
This page took 0.130338 seconds and 4 git commands to generate.