| View previous topic :: View next topic |
| Author |
Message |
Torrevado Op
Joined: 02 Aug 2006 Posts: 101
|
Posted: Tue Dec 15, 2009 5:15 pm Post subject: Move bans |
|
|
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. |
|
| Back to top |
|
 |
blake Master
Joined: 23 Feb 2009 Posts: 201
|
Posted: Wed Dec 16, 2009 11:30 am Post subject: Re: Move bans |
|
|
| Torrevado 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. |
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 reason
| Code: | 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"
} |
_________________ Blake
UKEasyHosting UKStormWatch |
|
| Back to top |
|
 |
|