Page 1 of 1

Check user on-chan modes

Posted: Mon Jun 27, 2005 6:29 pm
by JanisB
How i can check user status(+o/+v) on channel _globally_ ?
// On mIRC i can use ISOP f-ction, but only if i am sitting on this chan too //
So, if I am NetworkAdmin, can I see it or I must just parse "/whois $nick" ?

Posted: Tue Jun 28, 2005 4:42 am
by Winbots
get thales, get a mysql database, use the following sql statement:

Code: Select all

SELECT chan.channel,ison.mode_lq,ison.mode_la,ison.mode_lo,ison.mode_lh,ison.mode_lv,user.nick FROM ison,user,chan WHERE user.nickid = ison.nickid AND chan.chanid = ison.chanid;

Posted: Tue Jun 28, 2005 6:22 am
by aquanight
/who +cn #channel user
Reply will look like this:

:server 352 yournick #channel username hostname server nick flags :hops realname

Check the flags parameter ($7 in mIRC) for a +, %, @, &, or ~ character.

Posted: Wed Jun 29, 2005 7:30 pm
by JanisB
thx!.