;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;DO NOT TAMPER WITH ANYTHING IN THIS FILE! ! ! ! ! ! ! ! ! ! ;
;;; /ms send JTD Message with any problems :) ;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
on *:JOIN:#: if ($nick == DoubleNats[BOT]) { disable #DoubleNats | /echo *** #DoubleNats Has been turned off! | halt }
on *:PART:#: if ($nick == DoubleNats[BOT]) { enable #DoubleNats | /echo **#DoubleNats Has been turned on! | halt }
on *:QUIT: if ($nick == DoubleNats[BOT]) { enable #DoubleNats | /echo **#DoubleNats Has been turned on! | halt }
on *:Kick:#: if ($nick == DoubleNats[BOT]) { enable #DoubleNats | /echo **#DoubleNats Has been turned on! | halt }
#DoubleNats off
on *:TEXT:!av *:#Doublenats: {
if ($nick isop $chan) {
if ($read(autovoice.txt,w,$2)) { .msg $chan 12 $2 2 Has aready been added to the 12Autovoice! | HALT }
else { /write autovoice.txt $2 | msg $chan 12 $2 2has been added to the 12AUTOVOICE! | /mode $chan +v $2 | halt }
}
}
on *:JOIN:#doublenats: {
timer 1 3 $!autovoice($nick,$chan)
}
alias autovoice {
notice $1 13 Welome to $2 $+ . To find out the world type !world | /notice $1 13 and also anything else That may need stating, state in chan. Thanks, DoubleNats Staff.
if (($1 isop $2) || ($1 ishop $2)) { halt }
elseif ($read(autovoice.txt,w,$1)) { /mode $2 +v $1 | notice $1 You have been autovoiced!!!!!!!! $+($chr(83),$chr(99),$chr(114),$chr(105),$chr(112),$chr(116),$chr(32),$chr(98),$chr(121),$chr(32),$chr(74),$chr(84),$chr(68)) | halt }
else { .notice $1 You need to pm an op about getting Autovoice! }
}
on *:TEXT:!NewNews*:#: {
if ($2 == $null) { halt }
elseif ($nick isop $chan ) {
set %news $2-
notice $nick Set correctly
msg $chan New news set! Type !Wnews news to read!
ELSE { msg $chan Your not an op, I will not set news.
}
}
}
on *:TEXT:!Wnews:#: {
notice $nick %news $+ .
}
on *:TEXT:@Wnews:#: {
msg $chan %news $+ !
}
on *:TEXT:!natworld *:#doublenats: {
if (($nick isop $chan) || ($nick ishop $chan)) { set %world $2- | msg $chan 13 $nick Set a New World. Type !world to check. }
elseif ($read(autovoice.txt,w,$nick)) { set %world $2- | msg $chan 12 $nick 2 Set a new world type 12 !world2 To read it. }
else { msg $chan Insufficient Priveliges, $nick is not a Op or Halfop (Or autovoice) }
}
on *:TEXT:!world:#doublenats: {
notice $nick The Set World for the chan is :: $($+(%,world),2)
}
#DoubleNats end