Check user on-chan modes

These are old archives. They are kept for historic purposes only.
Post Reply
JanisB
Posts: 128
Joined: Fri Apr 22, 2005 9:05 am
Location: LV
Contact:

Check user on-chan modes

Post 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" ?
Winbots
Posts: 65
Joined: Wed Apr 21, 2004 12:26 am
Location: irc://irc.winbots.org/Winbots
Contact:

Post 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;
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post 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.
JanisB
Posts: 128
Joined: Fri Apr 22, 2005 9:05 am
Location: LV
Contact:

Post by JanisB »

thx!.
Post Reply