mIRC Home    About    Download    Register    News    Help

Print Thread
#61302 21/11/03 09:00 AM
Joined: Nov 2003
Posts: 5
F
FuSe Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
F
Joined: Nov 2003
Posts: 5
Sorry If there was a thread about this but...

How Do I make an auto message when I'm op-ed?

I want it to say 'Thanks for the @" when I get op-ed.

kthxbai


-UNDER CONSTRUCTION-
Joined: Jun 2003
Posts: 68
D
Babel fish
Offline
Babel fish
D
Joined: Jun 2003
Posts: 68
On *:op:#:{
if (%opthanks == on) { Halt }
if ($nick == $me) { msg $chan Thanks 4 tha @
set %opthanks off
.timer 1 10 set %opthanks on
}
}


and type /set %opthanks on

Joined: Jan 2003
Posts: 1,063
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
Quote:

$opnick refers to the nickname of the person being opped/deopped, $vnick the person being voiced/devoiced, and $hnick the person being helped/dehelped.


Code:
on *:OP:#: {
  if ($opnick == $me) && ($nick != $me) {
    msg $chan thank you for the @
  }
}


If it ain't broken, don't fix it!
Joined: Nov 2003
Posts: 5
F
FuSe Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
F
Joined: Nov 2003
Posts: 5
thanx


-UNDER CONSTRUCTION-

Link Copied to Clipboard