| 1 |
! $Id: server,v 1.5 2002-02-23 11:23:50 f Exp $ |
| 2 |
! |
| 3 |
! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, |
| 4 |
! and other ircII contributors. |
| 5 |
! |
| 6 |
! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more |
| 7 |
! information. |
| 8 |
! |
| 9 |
Usage: SERVER <name of server>|<number in server_list> [<port>]] |
| 10 |
SERVER <name of server>[:<port>[:<password>[:<nickname>[:<group>]]]] |
| 11 |
SERVER -SSL <args as above> |
| 12 |
SERVER [+|-] |
| 13 |
SERVER -DELETE <number in server_list> |
| 14 |
If server name starts with an exclamation mark (!) a SSL connection |
| 15 |
is established. |
| 16 |
Switches your primary server to the server specified at the |
| 17 |
specified port number. If no port number is given, the default |
| 18 |
port number is used. Your channel and AWAY status will remain |
| 19 |
unchanged. Occasionally, you can switch servers faster than the |
| 20 |
irc network can send out the information that you have left a |
| 21 |
server. So don't be surprised if it says your nickname is in |
| 22 |
use... just wait a moment and set it with NICK. ScrollZ |
| 23 |
maintains an internal list of servers you have connected to. |
| 24 |
To see that list, use SERVER with no arguments. You may also |
| 25 |
specify one of the servers in the server list by its number in |
| 26 |
the list, by issuing: |
| 27 |
SERVER <number in list> |
| 28 |
Likewise, you can automatically switch to the next or previous |
| 29 |
server in the server list by doing: |
| 30 |
SERVER + |
| 31 |
or |
| 32 |
SERVER - |
| 33 |
to switch to the next and previous server in the list, |
| 34 |
respectively. The second form allows you to specify a port, |
| 35 |
a password and a nickname to be used for this IRC connection. |
| 36 |
Also, you can set a particular server to be associated with a |
| 37 |
particular ScrollZ window. To do this, set the current window to the |
| 38 |
window you wish to use and do: |
| 39 |
SERVER +servername |
| 40 |
In this case, servername may again be a name, IP address, or number |
| 41 |
of a server in your server list. |
| 42 |
This will connect you to the given server as a secondary server in |
| 43 |
that window. Doing a /SERVER with no parameters will show you your |
| 44 |
primary server. If you kill the last window associated with a |
| 45 |
server, the connection to that server will close. If you kill the |
| 46 |
last window associated with your primary server, a new open server |
| 47 |
will be chosen as the primary server. If there are open servers you |
| 48 |
will not be allowed to close the connection to your primary server. |
| 49 |
When you create new windows, they will use as their associated |
| 50 |
server whatever was the server for the current window when the new |
| 51 |
window was created. You can therefore have more than one window for |
| 52 |
any server, but still only one primary server. |
| 53 |
|
| 54 |
Every time you switch to a new server, it gets |
| 55 |
added to the server list automatically. To set up initial |
| 56 |
servers in the server list, you can specify them on the command |
| 57 |
line as such: |
| 58 |
irc <nickname> server1 server2 server3 |
| 59 |
Each host may have its own port number, password, nickname and |
| 60 |
group specified on the command line, as well: |
| 61 |
irc <nickname> server1:6667 server2:7000:blah server3::foo::testnet |
| 62 |
In this case, server1 will use port 6667, server2 will use port |
| 63 |
7000 with password blah, and server3 will use the default port |
| 64 |
number, with password foo, and be put into group testnet. The |
| 65 |
-p switch on the command line allows you to specify the default |
| 66 |
port number. Also, if no password is specified and one is needed |
| 67 |
to connect, you will be prompted to enter a password before you can |
| 68 |
connect. You can also specify the default server list in the |
| 69 |
IRCSERVER environment variable using the same format as above. |
| 70 |
|
| 71 |
Available flags: |
| 72 |
-SSL <normal arguments> |
| 73 |
Make this a SSL connection. |
| 74 |
-DELETE <number in servers list> |
| 75 |
Allows you to remove servers from the internal server list. |
| 76 |
|
| 77 |
See Also: |
| 78 |
ircII server_lists |
| 79 |
ircII command_line_args |
| 80 |
ircII environment_vars |