I want to make a simple ban listing script that lists all the ban in the channel instead of just the bans that are made by the bot.
###################
bind msg o !bans banchk
proc banchk {nick uhost hand text} {
puthelp "NOTICE $nick :Sending you banlist
foreach ban [banlist #testing] {
set banhost [lindex $ban 0]
puthelp "NOTICE $nick :$banhost"
}
}
####################
this simple script i have written however only shows me bans that are made by the bot, is there anyway i can edit it so it lists all the channel bans instead of just the bans made by the bot?