mIRC Home    About    Download    Register    News    Help

Topic Options
#94020 - 13/08/04 04:44 PM IRCop on Join.
Zyzzyx26 Offline
Hoopy frood

Registered: 15/02/04
Posts: 714
Loc: Brasil
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

Top
#94021 - 13/08/04 05:32 PM Re: IRCop on Join.
Iori Offline
Hoopy frood

Registered: 30/08/03
Posts: 1831
P&P probably uses the who reply (raw 352) to know who are ircops. Check for * in $7 (IIRC smile)

Top
#94022 - 13/08/04 06:12 PM Re: IRCop on Join.
landonsandor Offline
Hoopy frood

Registered: 12/12/02
Posts: 1527
Loc: state of confusion
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

Top
#94023 - 13/08/04 06:26 PM Re: IRCop on Join.
Zyzzyx26 Offline
Hoopy frood

Registered: 15/02/04
Posts: 714
Loc: Brasil
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

Top
#94024 - 13/08/04 06:31 PM Re: IRCop on Join.
landonsandor Offline
Hoopy frood

Registered: 12/12/02
Posts: 1527
Loc: state of confusion
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

Top
#94025 - 13/08/04 06:39 PM Re: IRCop on Join.
Zyzzyx26 Offline
Hoopy frood

Registered: 15/02/04
Posts: 714
Loc: Brasil
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

Top
#94026 - 14/08/04 03:33 AM Re: IRCop on Join.
landonsandor Offline
Hoopy frood

Registered: 12/12/02
Posts: 1527
Loc: state of confusion
for the /who reply it's if (* isin $7)
_________________________
Those who fail history are doomed to repeat it

Top
#94027 - 14/08/04 04:03 PM Re: IRCop on Join.
Zyzzyx26 Offline
Hoopy frood

Registered: 15/02/04
Posts: 714
Loc: Brasil
Cool, ty smile
_________________________
"All we are saying is give peace a chance" -- John Lennon

Top
#94028 - 15/08/04 12:24 AM Re: IRCop on Join.
landonsandor Offline
Hoopy frood

Registered: 12/12/02
Posts: 1527
Loc: state of confusion
you're welcome smile Glad to be of help smile
_________________________
Those who fail history are doomed to repeat it

Top