Hello,
Is there a way to move all bans from internal ban list to channel ban list?
This way any chan Op (not bot +o flag) could remove bans.
You could get your bot to set mode chan +b username then kick their would be no need to use the bots internal ban list then this will allow for that will also allow ops to remove ban on channel ban list just use /botnick ban #channel nick reasonTorrevado wrote:Hello,
Is there a way to move all bans from internal ban list to channel ban list?
This way any chan Op (not bot +o flag) could remove bans.
Code: Select all
bind msg o|o ban cmd:ban
proc cmd:ban {nick uhost hand arg} {
set chan [lindex [split $arg] 0]
set username [lindex [split $arg] 1]
set reason [lrange [split $arg] 2 end]
putserv "MODE $chan +b $username"
putserv "kick $chan $username $reason"
}