mIRC Home    About    Download    Register    News    Help

Print Thread
Need help with something? #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-
Re: Need help with something? #61303 21/11/03 10:16 AM
Joined: Jun 2003
Posts: 68
D
Dr4g0n Offline
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

Re: Need help with something? #61304 21/11/03 11:50 AM
Joined: Jan 2003
Posts: 1,063
D
Doqnach Offline
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!
Re: Need help with something? #61305 21/11/03 02:11 PM
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-