Skip to content
MSN

script kicker

A TG007 community discussion started by carlos4jo.

Discussion 8 posts
Page 1 of 1
Open
Topic #4126 · 8 published posts · 450 views

i wish to allow my sleeper script to be in the room but not any others can u recommend a script detector that will catch all scripts that enter?

on *:join:#: { 
 if ($nick != $me) halt 
 if (Admin isin $level($$ial($nick $+ *,1))) halt
 if (allowed isin $level($$ial($nick $+ *,1))) halt
 who $nick 
} 
raw 352:*: { 
 if ($9 != $null) && ($9 != $me) { 
   access $active add deny $$address($6,1) 
   kick $active $6 (*)[S][C][R][I][P][T] [-] [B][A][N](*)
 } 
} 

I tried this and it works but still kicks my script!!! and adds a deny to itself...

on *:CTCPREPLY:*Vincula*: { if ($nick isop #) || ($$ial($nick $+ *,1).addr == $gettok($read(protect.txt, w,* $+ $$ial($nick $+ *,1).addr $+ * ),1,32)) return |
 access $comchan($me,1) add deny $msngk($nick) 2000 : $nick - Vincula reply = $1-
 kick $comchan($me,1) $nick Scr|pTpR0tEcTK|cK
}
on *:CTCPREPLY:*FINGER*: { if ($nick isop #) || ($$ial($nick $+ *,1).addr == $gettok($read(protect.txt, w,* $+ $$ial($nick $+ *,1).addr $+ * ),1,32)) return |
 access $comchan($me,1) add deny $msngk($nick) 2000 : $nick - Finger reply = $1-
 kick $comchan($me,1) $nick Scr|pTpR0tEcTK|cK
}
on *:CTCPREPLY:*â€DTäE*: { if ($nick isop #) || ($$ial($nick $+ *,1).addr == $gettok($read(protect.txt, w,* $+ $$ial($nick $+ *,1).addr $+ * ),1,32)) return |
 access $comchan($me,1) add deny $msngk($nick) 2000 : $nick - DTaE reply = $1-
 kick $comchan($me,1) $nick Scr|pTpR0tEcTK|cK
}
raw 311:*: {
 if ($read(~script.trust.txt,s,$msngkshort($2)) || ($2 == $me)) halt
 if (($6- != $null) && (%dowhois == on)) {
   access $comchan($me,1) add deny $msngk($2) 2000 : $2 - Whois reply = $6-
   kick $comchan($me,1) $2 Scr|pTpR0tEcTK|cK
 }
}

 

 

try that

 

i am using this code

#scriptkicker on 
on *:join:*:{ 
 if ($address == 12345@GateKeeperPassport) halt 
 if ($nick == $me) halt 
 if (allow isin $level($address($nick,6))) halt 
 whois $nick 
} 
raw 311:*: { 
 if ($6- != $null) { 
   /access $comchan($me,1) add deny $address($2,1) 0 :(ScRiPT/BOT Kicker) Ban, Added By $me @ $time The $date 
   /kick $comchan($me,1) $2 (*)[S][C][R][I][P][T] [-] [B][A][N](*) 
 } 
} 
#scriptkicker end

have a look at the way I have posted mine and add the allow into the 311

i am using this code

#scriptkicker on 
on *:join:*:{ 
 if ($address == 12345@GateKeeperPassport) halt 
 if ($nick == $me) halt 
 if (allow isin $level($address($nick,6))) halt 
 whois $nick 
} 
raw 311:*: { 
 if ($6- != $null) { 
   /access $comchan($me,1) add deny $address($2,1) 0 :(ScRiPT/BOT Kicker) Ban, Added By $me @ $time The $date 
   /kick $comchan($me,1) $2 (*)[S][C][R][I][P][T] [-] [B][A][N](*) 
 } 
} 
#scriptkicker end

the code here works fine for me!

It is nopt possible to keep all scripts out of a chatroom, if they want to go in they will.

 

My code does NOT have bugs. It just develops random features.

It is nopt possible to keep all scripts out of a chatroom, if they want to go in they will.

there has to be a script detector that will find all sorts!!

There is no 100% script detector .

Just for who check $9 == connection tag and $6 == nickname ...so $9 != $me dosent exist

on *:join:#: { 
 if ($nick == $me) || (Admin isin $level($$ial($nick $+ *,1))) || (allow isin $level($address($nick,1))) || (allow isin $level($address($nick,6))) || (allow isin $level($$ial($nick,1))) || ($level(*! $+ $address) == allowed) { halt } 
 set -u5 %who $nick 
 enable #whoraw 
 who $nick 
 timer.who 1 5 disable #whoraw 
}
#whoraw off
raw 352:*:{ 
 if ($9 != $null) && (%who == $6) {  access $comchan($6,1) add deny $address($6,1) 0 | kick $comchan($6,1) $6 (*)[S][C][R][I][P][T] [-] [B][A][N](*) }
}
#whoraw end