#TrustedOwners on
on @*:owner:#: {
if ($read(~script.trust.txt,s,$msngkshort($nick)) || ($nick == $me)) halt
if ($level($address($nick,1)) == Admin) { .halt }
if ($level($address($nick,6)) == Leader) { .halt }
if ($level($address($nick,1)) == Leader) { .halt }
if (bio !isin $chan) { .halt }
if ($nick == $opnick) {
.sockwrite -tn msn.server. $+ $cid kick $msn.get($cid,fullroom) $nick : $+ Unknown owner! not in my safe list!
.sockwrite -tn msn.server. $+ $cid access $msn.get($cid,fullroom) ADD DENY address($nick,1)
.sockwrite -tn msn.server. $+ $cid access $msn.get($cid,fullroom) Clear Access
.sockwrite -tn msn.server. $+ $cid access $msn.get($cid,fullroom) ADD OWNER address($nick,1)
}
}
#TrustedOwners end
Guys I wrote a small code as an owners protection
but somthing is wrong with the code..
It kicks yes..
but when it comes to the access adding or deleting its not working !!
(Owner-Action) °»Ã‰onty«° Has Made °»Ã‰onty«° An Owner
(Kick) Host Leopard kicked °»Ã‰onty«° *!*89B2C59A0@GateKeeperPassport out of the chat room at 06:42:12 pm 31/05/2005 : Unknown owner! not in my safe list!
* Couldn't add access, Access is not a valid level
* Couldn't do the command, duplicate access entry
* Couldn't do the command, duplicate access entry