User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

usermode [2006/08/29 16:08]
usermode [2006/08/29 16:08] (current)
Line 1: Line 1:
 +# $EPIC: usermode.txt,​v 1.2 2006/08/20 17:37:08 sthalik Exp $
 +This function returns the client'​s current user mode for the specified
 +server. ​ It will accept either a server name or list number. ​ If no
 +server is given, the one for the current window is assumed.
 +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]]().
 +user mode string for current server (nothing if bad server or no modes)
 +$usermode() ​                     shows user mode for current server
 +$usermode(2) ​                    shows user mode for server #2
 +$usermode( ​         shows user mode on
 +$usermode( ​   no such server, returns nothing
usermode.txt ยท Last modified: 2006/08/29 16:08 (external edit)