mIRC Home    About    Download    Register    News    Help

Print Thread
#135763 16/11/05 10:42 PM
Joined: Nov 2004
Posts: 21
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Nov 2004
Posts: 21
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.

#135764 16/11/05 10:48 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
On Serverop maybe? *shrugs* none of the servers I use support +qa modes. smile

-Andy

#135765 17/11/05 12:10 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
/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


#135766 17/11/05 12:37 AM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
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

#135767 17/11/05 06:05 PM
Joined: Aug 2003
Posts: 314
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2003
Posts: 314
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


Link Copied to Clipboard