$chan.isMeAdmin

Checks if the current user is an administrator on a channel
Syntax

$chan.isMeAdmin
$chan.isMeAdmin(<window_id>)

Description
Returns 1 if the current user is an administrator on the channel specified by <window_id> , 0 otherwise.
If <window_id> is not passed , the current window is used (assuming it is a channel at all).
If the window is not a channel , a warning is printed and an empty string is returned.
This function is a "shortcut" for $chan.isadmin($me).

Main index, Function index
KVirc 3.0.0 documentation
Generated by root at Sun Sep 7 19:47:12 2003