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:
22
bitchx-docs/6_Functions/winchan
Normal file
22
bitchx-docs/6_Functions/winchan
Normal file
@@ -0,0 +1,22 @@
|
||||
Synopsis:
|
||||
$chanwin(<window refnum/name>|<channel>)
|
||||
$winchan(<window refnum/name>|<channel>)
|
||||
|
||||
Technical:
|
||||
These functions are identical. They return one of either a window refnum
|
||||
or a channel name based on the arguments passed.
|
||||
|
||||
Returns:
|
||||
window refnum where <channel> resides if <channel> was passed
|
||||
or
|
||||
name of the current channel in <window refnum/name> if a window was passed
|
||||
|
||||
Examples:
|
||||
/window refnum 2;/join #epic
|
||||
eval echo $winchan(2) /* returns #epic */
|
||||
eval echo $winchan(#epic) /* returns 2 */
|
||||
|
||||
Other Notes:
|
||||
These functions were once separate, but caused much confusion based on
|
||||
their name in early versions of EPIC4.
|
||||
|
||||
Reference in New Issue
Block a user