mIRC Home    About    Download    Register    News    Help

Print Thread
Theres ON *:OP:* but no ON *:HOP:*? #110659 09/02/05 02:35 PM
Joined: Feb 2005
Posts: 1
D
DarkOrb Offline OP
Mostly harmless
OP Offline
Mostly harmless
D
Joined: Feb 2005
Posts: 1
Hi there,

Looking at doing something like i have for onvoice and onop but with hop's - i just cant find anyway of doing it
Code:
ON *:OP:*: {
  if ($opnick = $me) {
    inc %op.count
    /msg $chan 4.:. Thanks7 $nick 4for the OP's (I have been OP'd %op.count Time's) .:.
  }
}
which works fine - i just cant get anything to work with half op's.

Any ideas?

[Edit]
Amusingly, as is always the way, i figured it out about 2 minutes after posting this lol
Code:
ON *:HELP:*: {
  if ($hnick = $me) {
    inc %hop.count
    /msg $chan 4.:. Thanks7 $nick 4for the HOP (+h) (I have been HOP'd %hop.count Time's) .:.
  }
}
smile

Last edited by DarkOrb; 09/02/05 02:39 PM.
Re: Theres ON *:OP:* but no ON *:HOP:*? #110660 09/02/05 02:40 PM
Joined: Jun 2003
Posts: 92
K
k1ll3rz Offline
Babel fish
Offline
Babel fish
K
Joined: Jun 2003
Posts: 92
instead of

ON *:OP:*: { if ($opnick = $me) { inc %op.count /msg $chan 4.:. Thanks7 $nick 4for the OP's (I have been OP'd %op.count Time's) .:. }}

try

ON *:HALFOP:*: { if ($opnick = $me) { inc %hop.count /msg $chan 4.:. Thanks7 $nick 4for the HalfOP's (I have been HalfOP'd %hop.count Time's) .:. }}


k1ll3rz
Re: Theres ON *:OP:* but no ON *:HOP:*? #110661 09/02/05 02:55 PM
Joined: Jan 2005
Posts: 75
Z
ztnaraM Offline
Babel fish
Offline
Babel fish
Z
Joined: Jan 2005
Posts: 75
try using the on ^*:rawmode:# { event and adding something like if (+h isin $1) maybe.

Re: Theres ON *:OP:* but no ON *:HOP:*? #110662 09/02/05 06:27 PM
Joined: Mar 2004
Posts: 359
L
LostServ Offline
Fjord artisan
Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
Quote:
instead of
ON *:HALFOP:*: { if ($opnick = $me) { inc %hop.count /msg $chan 4.:. Thanks7 $nick 4for the HalfOP's (I have been HalfOP'd %hop.count Time's) .:. }}


/help on help