Eggheads: Script/Tcl - check a specific user mode

Adam Egan adam.egan at gmail.com
Mon Jan 23 11:04:47 CST 2006


> I am looking for a script/function to check if a user has a specific mode
> activated, ircd modes not egg modes.
> I knows how to check modes like +o/+v/+h but how to check +r in exemple ?
> Should I manually /whois user and process the result ?

Hi David,

This depends on what mode +r is, on some servers it means restricted
connection, on others it may mean a registered nickname. Either way
the easiest way to check is to /whois the user, and bind a proc to the
raw 307 numeric (for the registered nickname check). I'm not sure what
the numeric for restricted connection is, if any.

Hope this helps,

Adam


More information about the Eggheads mailing list