Table of Contents

# $EPIC: myservers.txt,v 1.3 2006/08/21 02:51:28 sthalik Exp $

Synopsis:

$myservers()
$myservers(<anything>)

Technical:

Practical:

The list of server names is not entirely useful since without the port number you can't really be sure what server it is being referred to. Also, including the pending servers can be nice, but since you aren't permitted to send commands to them, it's of limited use. The list of registered server refnums is more useful since these are the servers you are permitted to send commands to.

Returns:

With arguments: the list of registered server refnums
Without arguments: the list of open server names

Example:

To simulate the /AWAY -ALL command:

alias awayall {
   fe ($myservers(*)) x {
      xquote -s AWAY $*
   }
}

History:

The first form (without arguments) first appeared in ircII-2.2.2.

The second form (with arguments) first appeared in EPIC4pre1.028 and was suggested by Colten Edwards.