mIRC Home    About    Download    Register    News    Help

Print Thread
#94020 13/08/04 03:44 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
OP Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
I have been using Peace & Protection (no exploit version) for over a year now. It's a great script, however, I'm trying to built myself one, since PnP has some trouble with foreign scripts :P

One of the things I like about PnP is the nick coloring system. Besides coloring @Ops, notifies, etc, it also color IRCops. My question is: is there a way to know the person is an IRCop without /whois'ing them? Some nets use different Raws to tell if the person is an Oper (do they?), therefore a simple raw wouldn't do it.
Is there something like $nick(#,1,O)?

Thanks in advance smile
Zyzzy.


"All we are saying is give peace a chance" -- John Lennon
#94021 13/08/04 04:32 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
P&P probably uses the who reply (raw 352) to know who are ircops. Check for * in $7 (IIRC smile)

#94022 13/08/04 05:12 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
You could also try:

in a /whois reply (is accurate for dalnet - my only network I go on):

raw 309:*:{
}
raw 310:*: {
}
raw 313:*: {
}

And then in a /who reply:

raw 352:*: {
}

When you find one, you might want to assign them to user levels and then color the userlevel. Outside of that, maybe your network assigns them different hostmasks when they're opered. If so, you can do it on join via their address mask


Those who fail history are doomed to repeat it
#94023 13/08/04 05:26 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
OP Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
on the /whois reply, the IRCop raw changes, but I dont think it does on the /who reply. Thanks both smile


"All we are saying is give peace a chance" -- John Lennon
#94024 13/08/04 05:31 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
Well, the ones I listed I KNOW give you info for IRCop on dalnet, but you're right, other raws for other networks show the same info. smile


Those who fail history are doomed to repeat it
#94025 13/08/04 05:39 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
OP Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Since we're on the subject.. I can't connect to DALnet without and Identd, and since i'm behind a non-configurable proxy here, can't get to it at all. What is the $N of the IRCop * on DALnet? smile

Thanks, Zyzzyx


"All we are saying is give peace a chance" -- John Lennon
#94026 14/08/04 02:33 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
for the /who reply it's if (* isin $7)


Those who fail history are doomed to repeat it
#94027 14/08/04 03:03 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
OP Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Cool, ty smile


"All we are saying is give peace a chance" -- John Lennon
#94028 14/08/04 11:24 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
you're welcome smile Glad to be of help smile


Those who fail history are doomed to repeat it

Link Copied to Clipboard