On OPEN » History » Revision 9
« Previous |
Revision 9/24
(diff)
| Next »
Per Amundsen, 01/22/2017 04:27 AM
Added in 1.9.0
on <level>:OPEN:<?|=|!|*>:<matchtext>:<commands>
on <level>:OPEN:<?|=|!|*>:<commands>
For DCC Chat windows, the <matchtext> parameter is excluded, and it triggers only on successful connection.
Trigger for various events relating to the opening 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.
Haltable using ^
Parameters
<level> - The level for the event to trigger.
|@|=|!|*> - The Matchtarget to listen to.
<matchtext> - The 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 almost 8 years ago · 9 revisions