Project

General

Profile

On TEXT » History » Version 2

Per Amundsen, 11/16/2015 04:24 AM

1 1 Per Amundsen
_Added in 1.8.10_
2
3
*<notextile>on <level>:TEXT:<matchtext>:<*|#|?>:<commands></notextile>*
4
5
Triggers whenever a message is received.
6
7 2 Per Amundsen
_See also [[on ACTION]], [[on NOTICE]]._
8 1 Per Amundsen
9
*Parameters*
10
11
<level> - The level for the event to trigger.
12
<matchtext> - The [[Matchtext]] to listen to.
13
<*|#|?> - The [[Matchtarget]] to listen to.
14
<commands> - The commands to be performed when the event listener's criteria is met.
15
16
*Example*
17
18
<pre>
19
on *:TEXT:*:#:echo -ag Message $1- from $nick on channel $chan
20
</pre>