Skip to content
MSN Addons

Script kick

A TG007 community discussion started by chaostolight.

Discussion 4 posts
Page 1 of 1
Open
Topic #3266 · 4 published posts · 685 views

This Code was Made by Son Of light of sonoflightsystems the best script kicker i have seen but now beacuse of the new msn webtv change it's kicking webtv users out they have regualr passport and no guest infront of them... can't have that happening thanks

 

 

#botecho off

on @!*:JOIN:#: {

if (> isin $nick) { halt }

if (> !isin $nick) {

ctcp $nick version

ctcp $nick finger

ctcp $nick isitvincula

ctcpreply $nick â€DTäE

timer1bot [ $+ [ $nick ] ] 1 1 whois $nick

timer2bot [ $+ [ $nick ] ] 1 10 who $nick

timer.bot1 [ $+ [ $nick ] ] 1 30 echo -a 0,4 $nick is a Bot/Script[TIME] | splay alert.wav

timer.bot2 [ $+ [ $nick ] ] 1 30 echo -a 0,4 $nick is a Bot/Script[PING] | splay alert.wav

}

}

#botecho end

#botkick off

on script:JOIN:#: {

if ($nick !isop $chan) {

sockwrite -tn msn.server* access $msn.get($cid,fullroom) add deny $address 0 :scriptlevel

$if kick $msn.get($cid,fullroom) $msn.decode($nick) :SCRIPT Ban Level

}

}

on @!*:JOIN:#: {

if (> isin $nick) { halt }

if ($level($address($nick,1)) == Dragon) { halt }

if ($level($address($nick,1)) == Owner) { halt }

if ($level($address($nick,1)) != Owner) && ($level($address($nick,1)) != Dragon) {

ctcp $nick version

ctcp $nick finger

ctcp $nick isitvincula

ctcpreply $nick â€DTäE

timer1bot [ $+ [ $nick ] ] 1 1 whois $nick

timer2bot [ $+ [ $nick ] ] 1 10 who $nick

timer.bot1 [ $+ [ $nick ] ] 1 30 access $!chr(37) $!+ $right($chan,-1) add deny $address 0 :time fail

timer.bot2 [ $+ [ $nick ] ] 1 30 access $!chr(37) $!+ $right($chan,-1) add deny $address 0 :ping fail

timer.bot1k [ $+ [ $nick ] ] 1 33 kick $!chr(37) $!+ $right($chan,-1) $nick Bot/Script

timer.bot2k [ $+ [ $nick ] ] 1 33 kick $!chr(37) $!+ $right($chan,-1) $nick Bot/Script

}

}

#botkick end

on *:CTCPREPLY:*: {

if (*TIME* iswm $1) {

if (* $+ $chr(47) $+ * $+ $chr(47) $+ * $+ $chr(44) * $+ $chr(58) $+ * $+ $chr(58) $+ * iswm $1-) || (* $+ $chr(45) $+ * $+ $chr(45) * $+ $chr(44) * $+ $chr(58) $+ * $+ $chr(58) $+ * iswm $1-) || (1 $+ $chr(44) $+ $chr(32) $+ ? iswm $1-) {

timer.bot1 [ $+ [ $nick ] ] off

timer.bot1k [ $+ [ $nick ] ] off

timer.userl [ $+ [ $nick ] ] off

echo -a $1- Timecheck valid

}

}

if (*PING* iswm $1) {

if (0secs !isin $1-) || (??secs == $1-) {

timer.bot2 [ $+ [ $nick ] ] off

timer.bot2k [ $+ [ $nick ] ] off

timer.user2 [ $+ [ $nick ] ] off

echo -a $1- Pingcheck valid

}

}

if (*VIN* iswm $1) {

if ($group(#botecho).status == on) {

echo -a $1- Vincula check fail

splay alert.wav

}

if ($group(#botkick).status == on) {

access $msn.get($cid,fullroom) add deny $address 0 :vincula

kick $msn.get($cid,fullroom) $nick

auser script $address($nick,1)

}

}

if (*VERSION* iswm $1) {

if ($group(#botecho).status == on) {

echo -a $1- Version check fail

splay alert.wav

}

if ($group(#botkick).status == on) {

access $msn.get($cid,fullroom) add deny $address 0 :version

kick $msn.get($cid,fullroom) $nick Scripts Not Welcome

auser script $address($nick,1)

}

}

if (*â€DTäE* iswm $1) {

if ($group(#botecho).status == on) {

echo -a $1- Date check fail

splay alert.wav

}

if ($group(#botkick).status == on) {

access $msn.get($cid,fullroom) add deny $address 0 :date

kick $msn.get($cid,fullroom) $nick Scripts Not Welcome

auser script $address($nick,1)

}

}

if (*FINGER* iswm $1) {

if ($group(#botecho).status == on) {

echo -a $1- Finger check fail

splay alert.wav

}

if ($group(#botkick).status == on) {

access $msn.get($cid,fullroom) add deny $address 0 :finger

kick $msn.get($cid,fullroom) $nick Scripts Not Welcome

auser script $address($nick,1)

}

}

}

raw 311:*: {

if ($6- != $null) {

if ($group(#botecho).status == on) {

echo -a 0,4 $2 is a Bot/Script Failed Raw 311 adding to userlevel as script | splay alert.wav

auser script $address($nick,1)

}

if ($group(#botkick).status == on) {

access $msn.get($cid,fullroom) add deny $address 0 :raw 311 fail

kick $msn.get($cid,fullroom) $2 Bot/Script - Failed

auser script $address($nick,1)

echo -a raw 311 failed

}

}

}

raw 317:*: {

if ($4- == $null) {

if ($group(#botecho).status == on) {

echo -a 0,4 $2 is a Bot/Script Failed Raw 317 adding to userlevel as script | splay alert.wav

auser script $address($nick,1)

}

if ($group(#botkick).status == on) {

access $msn.get($cid,fullroom) add deny $address 0 :raw317 fail

kick $msn.get($cid,fullroom) $2 Bot/Script - Failed

auser script $address($nick,1)

echo -a raw 317 failed

}

}

}

raw 352:*: {

if ($9- != $null) {

if ($group(#botecho).status == on) {

echo -a 0,4 $2 is a Bot/Script Failed Raw 352 adding to userlevel as script | splay alert.wav

auser script $address($nick,1)

}

if ($group(#botkick).status == on) {

access $msn.get($cid,fullroom) add deny $address 0 :raw 352 fail

kick $msn.get($cid,fullroom) $2 Bot/Script - Failed

auser script $address($nick,1)

echo -a raw 352 failed

}

}

}

on *:QUIT: { timer.bot1 [ $+ [ $nick ] ] off | timer.bot2 [ $+ [ $nick ] ] off | timer.bot1k [ $+ [ $nick ] ] off | timer.bot2k [ $+ [ $nick ] ] off }

on *:PART:#: { timer.bot1 [ $+ [ $nick ] ] off | timer.bot2 [ $+ [ $nick ] ] off | timer.bot1k [ $+ [ $nick ] ] off | timer.bot2k [ $+ [ $nick ] ] off }

on *:KICK:#: { timer.bot1 [ $+ [ $nick ] ] off | timer.bot2 [ $+ [ $nick ] ] off | timer.bot1k [ $+ [ $nick ] ] off | timer.bot2k [ $+ [ $nick ] ] off }

 

That is a lot of code and it look like it is tailored to one person. I use Rumbaar's personally, and it works great!

 

;Will scan on join (when on) for three common script triggers and kick if recieve an answer also should check to see if person is still in room
;and only perform the access DENY and kick, so should eliminate any duplication errors.

menu nicklist,channel { 
 Script/Bot Kicker 
 .$iif($menu == nicklist,Allowed List) 
 ..$iif($menu == nicklist,Add) : { write allowed.txt $$ial($$1 $+ *,1).addr } 
 ..$iif($menu == nicklist,Remove) : { write -ds $+ $$ial($$1 $+ *,1).addr allowed.txt } 
 .$iif($group(#scripttest) == on,$style(2),$style(0)) On: .enable #scripttest | echo -a 0,12Script Kicker/Bot $+ 0,94 On 
 .$iif($group(#scripttest) == off,$style(2),$style(0)) Off: .disable #scripttest | echo -a 0,12Script Kicker/Bot $+ 0,4 Off 
} 

#scripttest on
on *:JOIN:*: { 
 if ($nick != $me) && ($$ial($nick $+ *,1).addr != $read(allowed.txt, w,* $+ $$ial($nick $+ *,1).addr $+ * )) { 
   ctcp $nick VERSION
   ctcpreply $nick â€DTäE
   ctcp $nick FINGER
 }
}

on *:ctcpreply:*FINGER*: {
 if ($1- != $null) {
   if ($nick ison $comchan($me,1)) { access $comchan($me,1) add DENY *! $+ $$ial($nick $+ *,1).addr 300 :Script Ban | kick $comchan($me,1) $nick tried to Finger me :@ }
 }
}
on *:ctcpreply:*â€DTäE*:{
 if ($1- != $null) {
   if ($nick ison $comchan($me,1)) { access $comchan($me,1) add DENY *! $+ $$ial($nick $+ *,1).addr 300 :Script Ban | kick $comchan($me,1) $nick tried to Finger me :@ }
 }
}
on *:ctcpreply:*VERSION*:{ 
if ($1- != $null) && (????????D21DB211????????????????@GateKeeper !iswm $ial($nick).addr) && (WebTV !isin $1-) && ($me isop $comchan($nick,1)) { access $comchan($nick,1) add DENY *! $+ $$ial($nick $+ *,1).addr 300 :Script Ban | kick $comchan($nick,1) $nick Version Chek'd Me:@ } }
#scripttest end

;By Rümßäär http://www.rumbaar.vze.com

Ya.. that is also a good peice of code i'm talking about vary recent changes with webtv users... that one i don't think would work eaither though i will test it out

thanks for the reply though

Edited Apr 3, 2005 12:47 AM by chaostolight

You could always use this for simplicity:

on *:ctcpreply:*:{
 if ($regex(noscript,$1-,vincula|clear) >= 1) { kick $chan $nick Script detected. }

;or if you want full regex of all - won't slow + shouldn't flood
on *:ctcpreply:*:{
 if ($regex(noscript,$1-,finger|â€DTäE|vincula|clear) >= 1) { kick $chan $nick Script detected }
}