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.
  • This command takes one argument. The argument should be surrounded by double quotes if it contains a space.
  • The one argument to this command is a comma-separated list of channels optionally followed by a space and a comma-separated list of channel keys. Remember to use double-quotes if you supply channel keys.
  • For each channel in the channel list:
  • If we are already on the channel,
  • If the current window is connected to the current server [1]
    → Move this channel to the current window
  • If the current window is NOT connected to the current server
    → Do nothing
  • If we are not already on the channel
  • If there is a window which is “waiting” for the channel
    → Join the channel and put it in that window
  • If there is NOT a window which is waiting for or owns the channel
  • If the current window is connected to the current server
    → Join the channel and put it in the current window
  • 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 assocations. 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: 2008/07/28 00:20
 

All documentation is available under the same terms as EPIC itself.