On TEXT » History » Revision 3
Revision 2 (Per Amundsen, 11/16/2015 04:24 AM) → Revision 3/8 (Per Amundsen, 01/22/2017 04:27 AM)
_Added in 1.8.10_
*<notextile>on <level>:TEXT:<matchtext>:<*|#|?>:<commands></notextile>*
Triggers whenever a message is received.
_See also [[on ACTION]], [[on NOTICE]]._
_Haltable using ^_
*Parameters*
<level> - The level for the event to trigger.
<matchtext> - The [[Matchtext]] to listen to.
<*|#|?> - The [[Matchtarget]] to listen to.
<commands> - The commands to be performed when the event listener's criteria is met.
*Example*
<pre>
on *:TEXT:*:#:echo -ag Message $1- from $nick on channel $chan
</pre>