From WikiChip
mirc/commands/server
< mirc‎ | commands
Revision as of 19:40, 5 July 2014 by PatrolBot (talk | contribs) (Bot: Fixing links)

The /server command can be used to initiate a new server connection. Using /server with no parameters will connect to the last server you used. If you use the server command while still connected, you will be disconnected with your normal quit message and will then connect to the specified server. It can also be used to manage the mIRC servers list

Synopsis

/server -sar [server] [-p port] [-g group] [-w password] [-d description]
/server [-46emnpfocz] <server/groupname/N> [port] [password] [-i nick anick email name] [-jn #channel pass]

Switches

if any of the -sar switches are used:

  • -s - sorts the servers list
  • -a - adds a server to the server list, if it exists, it is updated
  • -r - removes a server from the server list

Otherwise:

  • -4 - allows a connection to an IPv4 server
  • -6 - allows a connection to an IPv6 server
  • -e - initiates a secure connection to an SSL capable server, alternatively you can prefix the port number with a plus sign
  • -m - creates a new server window for that connection and connects to the server
  • -n - creates a new server window for that connection but does not connect to the server
  • -p - prevents the perfom from being applied
  • -f - prevents the favorites folder from poping up
  • -o - prevents the autojoining of channels from being applied
  • -c - prevents the on connect from being triggered
  • -z - minimizes the new server window

Parameters

if any of the -sar switches are used:

  • [server] - if specified, mIRC use that information to match for existing server entry
  • [-p port] - specified the port number to be used
  • [-g group] - specifies the group for the server, if the value is 'none', it clears the setting
  • [-w pass] - specifies the password for the server, if the value is 'none', it clears the setting
  • [-d desc] - specifies the description for the server, if the value is 'none', it clears the setting

Otherwise:

  • <server/groupname/N> - either a server address, or if you give a groupname, it will cycle through all the servers in the server list which have that group name until it connects to one of them, if you give a number, mIRC will try to connect to the Nth server in the server list in the connect dialog
  • [port] - if specified, the port number, prefix it with a '+' sign to create a SSL connection, default port is 6667
  • [password] - if specified, the password of the server, if any.
  • [-i [nick [anick [email [name]]]]] - if specified, tells mIRC the different parameters to be used for the USER login sequence, parameters are in order and can't be ommited unless they are last: you cannot specify [anick] without specifying [nick] (see examples)
  • [-jn <#channels> [passwords]] - if -j is specified, it will join the channels, if -n is specified, it will join them minimized. The [passwords] syntax depends on the IRC server you are using, it will simply use '/join <#channel> [passwords]', but typically, it's a comma seperated list of password where * can be used to specify that no password should be used for that channel.

Example

;Specify the [nick] and [anick]
/server irc.irc.com -i nick anick
;Impossible: specifying the [email] without specifying [nick] and [anick] first
/server irc.irc.com -i * * emailtouse

Compatibility

Added: 2.1a

Added On: 28/02/95

Note: Individual switches were not taken into consideration.

See also

v · d · e mIRC commands list

A /abook, /action, /add, /ajinvite, /alias, /aline, /ame, /amsg, /anick, /aop, /auser, /auto, /autojoin, /avoice, /away

B /background, /ban, /bcopy, /beep, /bindip, /bread, /break, /breplace, /bset, /btrunc, /bunset, /bwrite

C /channel, /clear, /clearall, /clearial, /cline, /clipboard, /close, /closechats, /closedccs, /closefserves, /closemsg, /cnick, /color, /colour, /comclose, /comlist, /commands, /comopen, /comreg, /continue, /copy, /creq, /ctcp, /ctcpreply, /ctcps

D /dcc, /dccserver, /dde, /ddeserver, /debug, /dec, /describe, /dialog, /did, /didtok, /disable, /disconnect, /dlevel, /dline, /dll, Template:mIRC/donotdisturb, /dns, /dqwindow, /drawcopy, /drawdot, /drawfill, /drawline, /drawpic, /drawrect, /drawreplace, /drawrot, /drawsave, /drawscroll, /drawsize /drawtext

E /ebeeps, /echo, /editbox, /else, /elseif, /emailaddr, /enable, /events, /exit

F /fclose, /filter, /findtext, /finger, /firewall, /flash, /flist, /flood, /flush, /flushini, /fnord, /font, /fopen, /fseek, /fsend, /fserve, /fullname, /fupdate, /fwrite

G /ghide, /gload, /gmove, /gopts, /goto, /gplay, /gpoint, /gqreq, /groups, /gshow, /gsize, /gstop, /gtalk, /gunload, /guser

H /hadd, /halt, /haltdef, /hdec, /hdel, /help, /hfree, /hinc, /hload, /hmake, /hotlink, /hop, /hsave

I /ial, /ialclear, /ialmark, /identd, /if, /ignore, /iline, /inc, /iuser

J /join

L /leave, /linesep, /links, /list, /load, /loadbuf, /localinfo, /log, /logview

M /maxdepth, /mdi, /me, /menubar, /mkdir, /mnick, /mode, /msg

N /noop, /notice, /notify

O /onotice, /omsg

P /pareline, /part, /partall, /pdcc, /perform, /play, /playctrl, /pop, /protect, /proxy, /pvoice

Q /qme, /qmsg, /query, /queryrn, /quit, /quote

R /raw, /registration, /reload, /remini, /remote, /remove, /rename, /renwin, /reseterror, /resetidle, /return, /returnex, /rlevel, /rline, /rmdir, /run, /ruser

S /save, /savebuf, /saveini, /say, /scid, /scon, /server, /set, /setlayer, /showmirc, /signal, /sline, /sockaccept, /sockclose, /socklist, /socklisten, /sockmark, /sockopen, /sockpause, /sockread, /sockrename, /sockudp, /sockwrite, /sound, /speak, /splay, /sreq, /strip, /switchbar

T /timer, /timestamp, /tip, /tips, /titlebar, /tnick, /tokenize, /toolbar, /topic /tray, /treebar

U /ulist, /unload, /unset, /unsetall, /updatenl, /url, /username, /uwho

V /var, /vcadd, /vcmd, /vcrem, /vol

W

X /xyzzy