From WikiChip
/haltdef Command - mIRC
< mirc‎ | commands
Revision as of 09:12, 8 February 2021 by 79.103.199.228 (talk) (Example)

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.

Note: Not all events support the '^' prefix, you can find a list of events supporting the '^' prefix here


Synopsis

/haltdef

Switches

None

Parameters

None

Example

With "^" prefix on event

on ^*:op:#mIRC:{
  haltdef
  echo -t #mIRC OP : $opnick by $nick
}

And without "^" prefix

raw 312:*: {
  haltdef
 
  echo -at $2 using $3 - ( $+ $4- $+ )
}

Compatibility

Added: 5.4

See also

[Expand]
v · d · e mIRC commands list