# $EPIC: winchan.txt,v 1.2 2007/02/27 04:57:37 jnelson Exp $
$winchan(<window refnum/name>|<channel>)
chanwin and winchan are the same function.
/window refnum 2;/join #epic eval echo $winchan(2) /* returns #epic */ eval echo $winchan(#epic) /* returns 2 */
$winchan() first appeared in EPIC4pre0.034.
$chanwin() was swapped with $winchan() in EPIC4pre1.027
$chanwin() and $winchan() were unified in EPIC4pre1.041
$winchan() first supported non-current channels in EPIC4pre2.506.