Home

Awesome

#libPurple core-answerscripts plugin

##What can this do for me?

There are lot of hacks that you can do with this simple framework if you know some basic scripting. eg.:

##Writing own (answer)scripts

###Example Following answerscript will reply to each incoming private message if you are not available. Reply will consist of two messages: one with username of your buddy who sent you a message and text of that message; and second with your status message. Simple huh?

#!/bin/sh
[ "$ANSW_ACTION" = 'IM' ] && [ "$ANSW_L_STATUS" != 'available' ] && {
	echo "<$ANSW_R_NAME> $ANSW_MSG"
	echo "My status: $ANSW_L_STATUS_MSG";
}

##Building & installation

###From packages

###Manually