Site Tools


window_rejoin

Table of Contents

# $EPIC: window_rejoin.txt,v 1.5 2008/07/28 05:15:51 jnelson Exp $

Synopsis:

window rejoin [“]<channel>[,<channel>] [<key-list>][”]

Technical:

  • This is the command that CHANNEL uses to do its work.
  • The argument is a qword containing a comma separated list of channel names, a space, and a comma-separated list of channel keys.
  • Remember to double quote the argument if it contains a space!
  • For each channel in the channel list:
    1. If we are already on the channel,
      1. If the current window is connected to the current server [1]
        → Move this channel to the current window
      2. If the current window is NOT connected to the current server
        → Do nothing
    2. If we are not already on the channel
      1. If there is a window which is “waiting” for the channel
        → Join the channel and put it in that window
      2. If there is NOT a window which is waiting for or owns the channel
        1. If the current window is connected to the current server
          → Join the channel and put it in the current window
        2. If the current window is NOT connected to the current server
          → Join the channel and put it in any of current server's windows.

Practical:

This command allows you to join many channels at a time without the risk of damaging your window→channel associations. If you use this command on a channel that you are already a part of, then it will move the channel to a new window. If you use this command on a channel you are not a part of, the client will do its best to put the channel where it thinks you want it.

This command was specifically created to be used in on connect to rejoin your channels after a disconnection.

window_rejoin.txt · Last modified: 2014/04/08 14:36 by 127.0.0.1