_Added in 1.8.10_
*on :TEXT::<*|#|?>:*
Triggers whenever a message is received.
_See also [[on ACTION]], [[on NOTICE]]._
_Haltable using ^_
*Parameters*
- The level for the event to trigger.
- The [[Matchtext]] to listen to.
<*|#|?> - The [[Matchtarget]] to listen to.
- The commands to be performed when the event listener's criteria is met.
*Example*
on *:TEXT:*:#:echo -ag Message $1- from $nick on channel $chan
; Override the text event to print a custom text and then tell AdiIRC to ignore it's own text.
on ^*:TEXT:*:*:{
echo -tbf $target $+(<,$nick,>:) $1-
halt
}