Skip to content
MSN Addons

Hey guys need help in script kicker

A TG007 community discussion started by bonTy.

Discussion 6 posts
Page 1 of 1
Open
Topic #4201 · 6 published posts · 774 views

Hey guys ,

Am trying to make a full room check for unwanted script

so am trying this code and it doesn't halt my team

menu menubar {
 .Check for Scripts { 
 if ($read(~script.trust.txt,s,$msngkshort($nick)) || ($nick == $me)) halt
   ctcp $chan Version | ctcp $chan FINGER | ctcp $chan ISITVINCULA 
 }
}
on *:CTCPREPLY:*Vincula*: {
 if ($read(~script.trust.txt,s,$msngkshort($nick)) || ($nick == $me)) halt
 access $comchan($me,1) add deny $msngk($nick) 2000 : $nick - Vincula reply = $1-
 kick $comchan($me,1) $nick |[Script_Bot_Kick ]| 8-)
}
on *:CTCPREPLY:*FINGER*: {
 if ($read(~script.trust.txt,s,$msngkshort($nick)) || ($nick == $me)) halt
 access $comchan($me,1) add deny $msngk($nick) 2000 : $nick - Finger reply = $1-
 kick $comchan($me,1) $nick |[Script_Bot_Kick ]| 8-)
}
on *:CTCPREPLY:*VERSION*: {
 if ($read(~script.trust.txt,s,$msngkshort($nick)) || ($nick == $me)) halt
 access $comchan($me,1) add deny $msngk($nick) 2000 : $nick - Version reply = $1-
 kick $comchan($me,1) $nick |[Script_Bot_Kick ]| 8-)
}

This line should halt them

if ($read(~script.trust.txt,s,$msngkshort($nick)) || ($nick == $me)) halt

but it doesn't work

all of them are added to the trusted list and am already using this line in almost all my codes..but in this code it doesn't halt them I tried even if nick isowner halt

didnt work as well so any ideas?

thanks in advance.

 

I would recommed Wolfy's script kicker.

Custom Computer

AMD Athlon 64 x2 Dual Core 5200+

Asus M2N-SLI MOB

2GB DDR2 @ 800mhz

160GB Hard Drive

NVidia GeForce 8400GS 256

Thats somthing else..

Its a botton I press when I join the room to kick out the scripts who joined while am not there

 

I Think , there is no $nick in menu (popup menubar) , try to make it in nicklist and use $$1 .

also , can you show us how the trusted nicks saved in that txt file ?

That is not in nick list ,

thats in remote file normale code

and it does save like this

1234567891234@ - nick here

and I already use that halt in all my codes , just wondering why it doesn't work with that code

 

Ok no problem with that halt code .

The Problem with your code is : $nick dosent exist in menu .

$nick only exist in channel events .

why dont you make it in dialog wich transfere all nicks in the room to that dialog box and scan the nicks there .