Cflags()
FUNCTION: cflags(<channel>, <player>)
With one argument, returns channel flags as letters: P (public), L (loud), S (spoof). With two arguments, returns the player’s per-channel flags: O (off), G (gagging join/leave), Q (comtitle disabled).
Examples:
> say cflags(Public)
You say, "PL"
> say cflags(Public, me)
You say, ""