Project

General

Profile

On OPEN » History » Version 2

Per Amundsen, 11/14/2015 10:13 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*<notextile>on <level>:OPEN:<?|@|=|!|*>:<matchtext>:<commands></notextile>*
4
5 2 Per Amundsen
Trigger for various events relating to the opening of a window of different types of windows.
6 1 Per Amundsen
Note: If you halt an on ^open event triggered by an incoming private message, no [[on TEXT]]/[[on ACTION]] events is triggered
7
8
See also [[on CLOSE]].
9
10
*Parameters*
11
12
<level> - The level for the event to trigger.
13
<*#?=!@> - The Matchtarget to listen to.
14
<matchtext> - Matchtext to listen to.
15
<commands> - The commands to be performed when the event listener's criteria is met.
16
17
*Example*
18
19
<pre>
20
; Print a message when a query window is opened.
21
on *:OPEN:?:*:echo -ag Opened query window for $nick
22
</pre>