mIRC Homepage
Posted By: Dertikter on MODE - 16/11/05 10:42 PM
Is there a on MODE for user modes in a channel?
Such as +a or q or something like that, being channel admin and channel founder.

Thanks in advance.
Posted By: SladeKraven Re: on MODE - 16/11/05 10:48 PM
On Serverop maybe? *shrugs* none of the servers I use support +qa modes. smile

-Andy
Posted By: RusselB Re: on MODE - 17/11/05 12:10 AM
/help on op
/help on founder

That's as close as I was able to find, the Admin (+a) is not used on any of the networks that I'm part of.

I don't know if this might be of assistance, but from the edited help file from Teazle
Quote:
$nhnick(#,N/nick)
Returns Nth non-halfop non-operator in the channels nickname listbox on channel #.

Properties: color, pnick, idle

$nhnick(#mIRC,0) returns the the total number of non-halfop non-operator on #mIRC
$nhnick(#mIRC,1) returns the 1st non-halfop non-operator on #mIRC

$nhnick(#mIRC,1).color returns the color of the 1st non-halfop non-operator on #mIRC
$nhnick(#mIRC,1).pnick returns the status of the 1st non-halfop non-operator on #mIRC
$nhnick(#mIRC,1).idle returns the idletime of the 1st non-halfop non-operator on #mIRC

Posted By: genius_at_work Re: on MODE - 17/11/05 12:37 AM
I'm not exactly sure what you are asking. You ask for user modes, but give examples of channel modes.

If you are looking to react to changes in channel modes, the on MODE event would react to all changes that happen while you are in the channel. The highest usermode for each user should be prepended to each user in the /names response for that channel.

I don't believe there is a way to read all modes that a user has, for example, if they have +qov (founder&op&voice) you would see the symbol for founder or op (depending on the ircd) like this: @user026

If you are looking to get the individual usermodes (as opposed to channel modes) I believe the IRC server would have to be configured to send you that information specifically. IRCops can often see usermodes when they perform a whois on a user.

-genius_at_work
Posted By: Sigh Re: on MODE - 17/11/05 06:05 PM
There's on owner which triggers when mode +q is set on someone:

Code:
on *:owner:#:echo $nick gave $opnick owner status in #


As you can see it's the same format as on op
© mIRC Discussion Forums