Project

General

Profile

Actions

On OPEN » History » Revision 1

Revision 1/24 | Next »
Per Amundsen, 11/14/2015 10:12 AM


Added in 1.9.0

on <level>:OPEN:<?|@|=|!|*>:<matchtext>:<commands>

Trigger for various events relating to the opening and closing of a window of different types of windows.
Note: If you halt an on ^open event triggered by an incoming private message, no on TEXT/on ACTION events is triggered

See also on CLOSE.

Parameters

<level> - The level for the event to trigger.
<*#?=!@> - The Matchtarget to listen to.
<matchtext> - Matchtext to listen to.
<commands> - The commands to be performed when the event listener's criteria is met.

Example

; Print a message when a query window is opened.
on *:OPEN:?:*:echo -ag Opened query window for $nick

Updated by Per Amundsen about 9 years ago · 1 revisions

Also available in: PDF HTML TXT