From 4446826a37f0c878b21c725584cc664e3145c573 Mon Sep 17 00:00:00 2001 From: Harvie Date: Wed, 2 Jun 2010 20:44:11 +0200 Subject: [PATCH] version 0.1.1 - few cosmetic fixes --- TODO | 1 - answerscripts.c | 2 +- purple/answerscripts.d/menu.pl | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) 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' '^' } } } -- 2.30.2