From: Harvie Date: Wed, 2 Jun 2010 18:44:11 +0000 (+0200) Subject: version 0.1.1 - few cosmetic fixes X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=4446826a37f0c878b21c725584cc664e3145c573;p=mirrors%2Flibpurple-core-answerscripts.git version 0.1.1 - few cosmetic fixes --- diff --git a/TODO b/TODO index 4b4bdc3..e9841ee 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,3 @@ TODO: * process everything asynchronously - * general speed improvement * more example scripts (user contributions welcome) diff --git a/answerscripts.c b/answerscripts.c index ff722c3..f8e03fe 100755 --- a/answerscripts.c +++ b/answerscripts.c @@ -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." diff --git a/purple/answerscripts.d/menu.pl b/purple/answerscripts.d/menu.pl index c2f48d6..5c0c593 100755 --- a/purple/answerscripts.d/menu.pl +++ b/purple/answerscripts.d/menu.pl @@ -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' '^' } } }