usermode
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | usermode [2006/08/29 16:08] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | # $EPIC: usermode.txt, | ||
| + | ======Synopsis: | ||
| + | $__usermode__([< | ||
| + | |||
| + | ======Technical: | ||
| + | This function returns the client' | ||
| + | server. | ||
| + | server is given, the one for the current window is assumed. | ||
| + | |||
| + | ======Practical: | ||
| + | The information returned with this function is identical to the contents of | ||
| + | [[set STATUS_UMODE|STATUS_UMODE]] in the status bar for the current server. | ||
| + | It's useful for getting the current usermodes for hidden windows without | ||
| + | switching to them. It is useful when used in conjunction with $[[winserv]](). | ||
| + | |||
| + | ======Returns: | ||
| + | user mode string for current server (nothing if bad server or no modes) | ||
| + | |||
| + | ======Examples: | ||
| + | < | ||
| + | $usermode() | ||
| + | $usermode(2) | ||
| + | $usermode(irc.blah.com) | ||
| + | $usermode(irc.fakeserver.com) | ||
| + | </ | ||
usermode.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1
