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.