Actions
Matchtarget » History » Revision 10
« Previous |
Revision 10/24
(diff)
| Next »
Per Amundsen, 11/14/2015 02:11 AM
- Table of contents
- Matchtarget
Matchtarget¶
A <matchtarget> is a text pattern that AdiIRC will use to compare with a target window during a scripting event.
Different events have different valid window locations.
= - Defines dcc chat window location.@ - Defines custom window location.
? - Defines query location.
# - Defines channel location.
* - Defines any window location.
%var - A variable containing a window or a list of window is also acceptable.
Example
; Subscribe to the TEXT event and if #channel matches the target channel, print a text. on *:TEXT:*:#channel:echo -ag #channel matched. ; Set a target variable. set %target #channel ; Subscribe to the TEXT event and if #channel matches the target channel, print a text. on *:TEXT:*:%target:echo -ag #channel matched.
Updated by Per Amundsen about 9 years ago · 10 revisions