# $EPIC: window_server.txt,v 1.3 2006/08/20 18:32:13 sthalik Exp $
window server <server>[:[<port>][:[<password>][:[<nickname>]]]]
This command attaches this window to a different server. The new server is connected to if necessary. If the old server has no other windows, it is disconnected.
In EPIC5, Server reconnections are asynchronous. This means this command returns immediately, before the server has been connected to. In EPIC4, this command would not return until the new server was up.
The server name is the only required argument. Any or all of the other may be specified as desired, however a colon must separate each argument, even if one is missing (see the examples below).
To connect to server irc.foo.com on port 6665:
/window server irc.foo.com:6665
To connect to server irc.foo.com with the nickname JoeBob:
/window server irc.foo.com:::JoeBob