#!/bin/sh
#AutoKiss :-* (just wanna be polite)
-echo "$PURPLE_MSG" | grep -o ':-\*';
+echo $(echo "$ANSW_MSG" | grep -Eo ':-\*|\*IN LOVE\*|:-\{\}|\*KISSING\*');
#!/bin/sh
#Debug
-echo "<$PURPLE_FROM> $PURPLE_MSG" >&2;
+echo "<$ANSW_FROM> $ANSW_MSG" >&2;
+echo "($ANSW_STATUS: $ANSW_STATUS_MSG)" >&2;
#!/bin/sh
#Say it loudly and proudly!
-test -x "$(which espeak)" && echo "$PURPLE_MSG" | espeak -v $(echo "$LANG" | head -c 2) &
+test -x "$(which espeak)" && echo "$ANSW_MSG" | espeak -v $(echo "$LANG" | head -c 2) &
use warnings;
use Switch;
-switch ($ENV{PURPLE_MSG}) {
+switch ($ENV{ANSW_MSG}) {
case /^!help$/ { print "What did you expected? A help?! :-P"; }
case /^!ping$/ { print "PONG"; }
- case /^!whoami$/ { print "You are: $ENV{PURPLE_FROM}"; }
+ case /^!whoami$/ { print "You are: $ENV{ANSW_FROM}"; }
case /^!(reboot|reset|restart|halt)$/ { print "Broadcast message: The system is going down for reboot NOW !!"; }
case /^!google/ { print "UTFG Yourself: http://google.com/"; }
case /^!uptime$/ { print qx{uptime}; }
#!/bin/sh
#Dumb libpurple core-answerscripts script. Hello world!
-echo "REPEAT:$PURPLE_FROM> $PURPLE_MSG";
+echo "REPEAT:$ANSW_FROM> $ANSW_MSG";