winchan
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | winchan [2007/02/27 04:57] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: winchan.txt, | ||
+ | ======Synopsis: | ||
+ | $[[winchan]](< | ||
+ | |||
+ | ======Technical: | ||
+ | [[chanwin]] and [[winchan]] are the same function. | ||
+ | |||
+ | * If no argument given: | ||
+ | * Return the current window' | ||
+ | * If one argument, and it's a window refnum: | ||
+ | * Return that window' | ||
+ | * If one argument, and it's a channel: | ||
+ | * Return the window that the channel belongs to. | ||
+ | * If two arguments, first one is channel, second one is server: | ||
+ | * Return the window FOR THAT SERVER that the channel belongs to. | ||
+ | |||
+ | ======Examples: | ||
+ | < | ||
+ | /window refnum 2;/join #epic | ||
+ | eval echo $winchan(2) | ||
+ | eval echo $winchan(# | ||
+ | </ | ||
+ | |||
+ | ======History: | ||
+ | $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. | ||
+ | |||
winchan.txt · Last modified: 2007/02/27 04:57 by 127.0.0.1