on_public_msg
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | on_public_msg [2006/08/29 16:08] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Synopsis: | ||
+ | [[on]] [< | ||
+ | |||
+ | ======Description: | ||
+ | This hook is triggered whenever the client receives a public message in | ||
+ | a channel from someone not actually in the channel. | ||
+ | |||
+ | ======Parameters: | ||
+ | |$0 | ||
+ | |$1 | ||
+ | |$2- |text of message | ||
+ | |||
+ | ======Examples: | ||
+ | To customize how these messages are displayed: | ||
+ | on ^public_msg " | ||
+ | if ( [$1] == C ) { | ||
+ | xecho -b \($0\) $2- | ||
+ | } { | ||
+ | xecho -b \($0:$1\) $2- | ||
+ | } | ||
+ | } | ||
+ | |||
on_public_msg.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1