Skip to content
MSN Addons

Auto Spec?

A TG007 community discussion started by ePox.

Discussion 2 posts
Page 1 of 1
Open
Topic #3284 · 2 published posts · 391 views

Can someone fix this code to where you can turn the auto spec on & off for each flood. And control it from the menubar.

 

********************************************************************

 

#autospec on

on *:part:#:{

inc -u3 %as.h. [ $+ [ $address ] ]

}

on *:join:#:{

inc -u3 %as.h. [ $+ [ $address ] ]

if (%as.h. [ $+ [ $address ] ] > 6) {

mode $chan -v $nick

privmsg $nick You have been AutoSpecked for 10 Minutes (Hop-Flooding)

.timeras.h. [ $+ [ $address ] ] 1 600 mode $msn.get($cid,room) +v $nick

}

}

raw 821:*:{

inc %as.a. [ $+ [ $address ] ]

if (%as.h. [ $+ [ $address ] ] > 10) {

mode $comchan($nick,1) -v $nick

privmsg $nick You have been AutoSpecked for 10 Minutes (Away-Flooding)

.timeras.v. [ $+ [ $address ] ] 1 600 mode $msn.get($cid,room) +v $nick

}

}

raw 822:*:{

inc -u2 %as.a. [ $+ [ $address ] ]

if (%as.h. [ $+ [ $address ] ] > 10) {

mode $comchan($nick,1) -v $nick

privmsg $nick You have been AutoSpecked for 10 Minutes (Away-Flooding)

.timeras.v. [ $+ [ $address ] ] 1 600 mode $msn.get($cid,room) +v $nick

}

}

on *:TEXT:*:#:{

inc -u2 %as.t. [ $+ [ $address ] ]

if (%as.t. [ $+ [ $address ] ] > 15) {

mode $chan -v $nick

privmsg $nick You have been AutoSpecked for 10 Minutes (Text-Flooding)

.timeras.v. [ $+ [ $address ] ] 1 600 mode $msn.get($cid,room) +v $nick

}

elseif (*groups.msn.com* iswm $1-) || (*chat.msn.com* iswm $1-) {

mode $chan -v $nick

privmsg $nick You have been AutoSpecked for 10 Minutes (Advertising)

.timeras.v. [ $+ [ $address ] ] 1 600 mode $msn.get($cid,room) +v $nick

}

}

#autospec end

try this...

 

#autospec on
on *:JOIN:#:{
 inc -u10 %ash. [ $+ [ $right($chan,-1) $+ . $+ $address ] ]
 if (%ash. [ $+ [ $right($chan,-1) $+ . $+ $address ] ] >= 3) {
   if (m !isin $chan($chan).mode) mode $chan +m
   mode $chan -v $nick
   privmsg $nick You have been AutoSpecked for 10 Minutes (Hop-Flooding)
   .timerash. [ $+ [ $right($chan,-1) $+ . $+ $address ] ] 1 600 mode $chr(35) $+ $right($chan,-1) +v $nick
 }
}
raw *:*: {
 if ($numeric isin 821 822) {
   inc -u10 %asa. [ $+ [ $right($msn.get($cid,shortroom),-1) $+ . $+ $address ] ]
   if (%asa. [ $+ [ $right($msn.get($cid,shortroom),-1) $+ . $+ $address ] ] > 10) {
     if (m !isin $chan($msn.get($cid,shortroom)).mode) mode $msn.get($cid,shortroom) +m
     mode $msn.get($cid,shortroom) -v $nick
     privmsg $nick You have been AutoSpecked for 10 Minutes (Away-Flooding)
     .timerash. [ $+ [ $right($msn.get($cid,shortroom),-1) $+ . $+ $address ] ] 1 600 mode $chr(35) $+ $right($msn.get($cid,shortroom),-1) +v $nick
   }
 }
}
on *:TEXT:*:#:{
 inc -u10 %ast. [ $+ [ $right($chan,-1) $+ . $+ $address ] ]
 if (%ast. [ $+ [ $right($chan,-1) $+ . $+ $address ] ] > 15) {
   if (m !isin $chan($chan).mode) mode $chan +m
   mode $chan -v $nick
   privmsg $nick You have been AutoSpecked for 10 Minutes (Text-Flooding)
   .timerast. [ $+ [ $right($chan,-1) $+ . $+ $address ] ] 1 600 mode $chr(35) $+ $right($chan,-1) +v $nick
 }
 elseif (*groups.msn.com* iswm $1-) || (*chat.msn.com* iswm $1-) {
   mode $chan -v $nick
   privmsg $nick You have been AutoSpecked for 10 Minutes (Advertising)
   .timerast. [ $+ [ $right($chan,-1) $+ . $+ $address ] ] 1 600 mode $chr(35) $+ $right($chan,-1)) +v $nick
 }
}
#autospec end 

Edited Apr 5, 2005 6:59 AM by The Gate Keeper