i have installed the module Blacklist.tcl from this site. I have some question about this script. Actually this script working on channel with BOT OWNER. I want to make the script work with OPS, ADMIN, HELPOP an IRCops also. What must i change on this code that this work probably?
Actually only the bot owner cant enter the following command .blist .
Code: Select all
bind PUB m|o \.blist blacklist:list
proc blacklist:list {nickname hostname handle channel arguments} {
global blacklist
set entrys 0
puthelp "NOTICE $nickname :Blacklist"
puthelp "NOTICE $nickname :Nr. Nick Ip/Host"
foreach entry [array names blacklist] {
incr entrys
set owner [lindex $blacklist($entry) 0]
while {[string length $owner] < 15} {
set owner "$owner"
}
if {[string length $entrys] < 2} {
set target "$entrys "
} else {
set target $entrys
}
puthelp "NOTICE $nickname :#$target $ops $entry"
}
puthelp "NOTICE $nickname :Sfarsitul Listei."
}