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 4b4bdc3540c26e88bbae025f8caffb8cd9921684..e9841ee83055824273b168e76d06e7d1b7e6fc5d 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,4 +1,3 @@
 TODO:
   * process everything asynchronously
-       * general speed improvement
        * more example scripts (user contributions welcome)
index ff722c3a83255bd1a0e9dc14a9b6e083e7f2b4d7..f8e03fef4caa29c89b8a5a56a13e7f3f1ac2b354 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 c2f48d62673797abb150886ce9b9ead3828bae96..5c0c5932f12d17086f6f3e3c9b11113a94778fd8 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.12666 seconds and 4 git commands to generate.