From WikiChip
Difference between revisions of "mirc/on events/on topic"
(Created On topic event - mIRC) |
m (Bot: Adding a template (template:mIRC on event list)) |
||
Line 31: | Line 31: | ||
* [[On text - mIRC|ON TEXT]] | * [[On text - mIRC|ON TEXT]] | ||
* [[On unban - mIRC|ON UNBAN]] | * [[On unban - mIRC|ON UNBAN]] | ||
+ | {{mIRC on event list}} | ||
− | [[Category: | + | [[Category:MIRC on events]] |
Revision as of 23:10, 3 July 2014
The ON TOPIC event triggers in a channel when the topic is changed.
This event fills $1- with the new channel topic text.
Synopsis
ON <level>:TOPIC:<#[,#]>:<commands>
Parameters
<level>The level for the event to trigger.
<#[,#]>The channel, or channels to target. Leave as # to target all channels.
<commands>The commands to be performed when the event listener's criteria is met.
Example
Send an action to a channel when the topic is changed:
ON *:TOPIC:#:action $chan approves of this new topic!
Compatibility
Added: mIRC v5.7
Added On: 02/02/2000
See Also
mIRC on event list