From WikiChip
/autojoin Command - mIRC
< mirc‎ | commands
Revision as of 22:57, 3 March 2022 by KindOne (talk | contribs) (Example: add note about max seconds in delay)

The /autojoin command is used in conjunction with the on Connect event (or the Perform option available in alt + o > options > perfom..) in order to delay or prevent auto-joining of channels. This also apply to rejoining of open channels windows during reconnect

Synopsis

/autojoin -nsdN

Switches

  • -n - Join now
  • -s - Skip autojoin
  • -dN - Delay auto-join for N seconds

Parameters

None

Example

on *:connect:{
  /* 
    5 seconds delay before we re-join the channels
    Enough time to perform more important things
  */
  autojoin -d5
 
  ns id FooBar
  mode $me -x
}

Note: The max delay is 600 seconds, anything more resets to 600.

Compatibility

Added: mIRC v6.17
Added on: 17 Feb 2006
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See also

[Expand]
v · d · e mIRC commands list