# $EPIC: on_send_action.txt,v 1.2 2006/08/19 02:36:28 sthalik Exp $ ======Synopsis:====== [[on]] []send_action [] [-|^] { } ======Description:====== This hook is triggered whenever the client sends a [[CTCP]] [[ctcp ACTION|ACTION]] to a channel or to another person. ======Parameters:====== |$0 |target of the [[describe|ACTION]] (nickname or channel)| |$1- |text of message sent| ======Examples:====== To display separate messages for public and private actions: on ^send_action "*" { if ( ischannel($0) ) { echo * $0: $servernick() $1- } { echo *> $0: $servernick() $1- } }