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:
15
bitchx-docs/6_Functions/currchans
Normal file
15
bitchx-docs/6_Functions/currchans
Normal file
@@ -0,0 +1,15 @@
|
||||
Synopsis:
|
||||
$currchans([<server refnum>])
|
||||
|
||||
Technical:
|
||||
Returns the current channels for each window connected to <server refnum>.
|
||||
If <server refnum> is -1, then $lastserver() is assumed. If no arguments
|
||||
are passed, all current channels are returned. This function returns
|
||||
each argument as "<server refnum> <channel>" in double quotes.
|
||||
|
||||
Examples:
|
||||
eval echo $currchans(1) /* returns "1 #epic" "1 #unix" */
|
||||
(assuming there are two windows connected to server 1, with #epic in
|
||||
one window and #unix in the other)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user