From WikiChip
Difference between revisions of "mirc/commands/haltdef"
(Created page with "The '''/haltdef command''' halts the default processing of an event. When mIRC is about to trigger an event, mIRC will first check for events that use the '^' prefix, and then...") |
(→Example) |
||
Line 13: | Line 13: | ||
== Example == | == Example == | ||
<syntaxhighlight lang="mIRC">on ^*:op:#mIRC:{ | <syntaxhighlight lang="mIRC">on ^*:op:#mIRC:{ | ||
− | haltdef | + | haltdef |
− | echo -t #mIRC OP : $opnick by $nick | + | echo -t #mIRC OP : $opnick by $nick |
} | } | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 04:29, 6 December 2013
The /haltdef command halts the default processing of an event. When mIRC is about to trigger an event, mIRC will first check for events that use the '^' prefix, and then check the regular events. After processing events using the '^' prefix, mIRC will apply the default action for that event, usually displaying text, but it can be highlighting a window etc.. Using /haltdef only have an effect inside an event using the '^' prefix, and will prevent mIRC from performing his default action.</p>
Synopsis
/haltdef
Switches
None
Parameters
None
Example
on ^*:op:#mIRC:{ haltdef echo -t #mIRC OP : $opnick by $nick }
Compatibility
Added: 5.4
Added On: 23/06/98
Note: Individual switches were not taken into consideration.