mIRC Home    About    Download    Register    News    Help

Print Thread
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.
Joined: Jun 2003
Posts: 92
K
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
Joined: Jan 2005
Posts: 75
Z
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.

Joined: Mar 2004
Posts: 359
L
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


Link Copied to Clipboard