From WikiChip
On Invite - Events - mIRC
< mirc‎ | on events
Revision as of 20:17, 15 June 2017 by ChippyBot (talk | contribs) (Bot: adding missing title)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The ON INVITE event triggers when a user sends the mIRC client and invite to a specific channel.


ON <level>:INVITE:<#[,#]>:<commands>


<level>The level for the event to trigger.

<#[,#]>The channel or channels for which the event occurred.

#If no channel mentioned, targets all channels; otherwise, a specific channel.
[,#]Can be used to specify multiple, literal channel targets.

<commands>The commands to be performed when the event listener's criteria is met.


Echo to the active window the user and channel of the invite details:

ON *:INVITE:#:echo -a $nick has extended an invite to $chan

Automatically join the channel from the invite:

ON *:INVITE:#:join $chan


Added: mIRC v2.1a
Added on: 28 Feb 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.

See Also[edit]