X-Git-Url: https://git.harvie.cz/?p=mirrors%2Flibpurple-core-answerscripts.git;a=blobdiff_plain;f=purple%2Fanswerscripts.sh;fp=purple%2Fanswerscripts.sh;h=4dc0e8abc244928a48f588e5b29803677b74d4b4;hp=dbcb548a4b74f971651b21022cc47adc154f9a00;hb=2bcad731832754d3f67219355f1a9878bd38e27d;hpb=8ddbf94e3bd6d96862182bc6a054a2d411016e02 diff --git a/purple/answerscripts.sh b/purple/answerscripts.sh index dbcb548..4dc0e8a 100755 --- a/purple/answerscripts.sh +++ b/purple/answerscripts.sh @@ -2,8 +2,9 @@ # This file is called for every message received by libpurple clients (pidgin,finch,...) # - Following env values are passed to this script: -# - ANSW_FROM (who sent you message) # - ANSW_MSG (text of the message) +# - ANSW_FROM (who sent you message) +# - ANSW_PROTOCOL (protocol used to deliver the message. eg.: jabber, irc,...) # - ANSW_STATUS (unique ID of status. eg.: available, away,...) # - ANSW_STATUS_MSG (status message set by user) # - WARNING: You should mind security (don't let attackers to execute their messages/nicks!)