mIRC Home    About    Download    Register    News    Help

Print Thread
D
DarkOrb
DarkOrb
D
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.
K
k1ll3rz
k1ll3rz
K
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) .:. }}

Z
ztnaraM
ztnaraM
Z
try using the on ^*:rawmode:# { event and adding something like if (+h isin $1) maybe.

Joined: Mar 2004
Posts: 358
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 358
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


Link Copied to Clipboard