Initial import of the ircii-pana-1.1-final source tree.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2008-02-25 09:25:32 +00:00
commit 28febcfea9
1429 changed files with 250653 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
Synopsis:
$winserv([<window>])
Technical:
This function returns the index to the current server for the specified
window number or name. If no window is specified, the current is assumed.
Practical:
This function is a convenient way for a script to know what the current
server is. It returns the index in the server list, which can then in
turn be fed to $servername() to translate it to the real server name.
Returns:
> -1 index of server in server list
-1 window does not exist
Examples:
$winserv(1) returns current server for window #1
$winserv(main) returns current server for window "main"
$winserv() returns current server for current window
$winserv(-2) window #-2 does not exist, return -1
See Also:
lastserver(6); myservers(6); servername(6); servnum(6); servports(6)