.bans #chan *
<Modo> ! [1] *!*@201.250.147.32 (perm)
<Modo> Op1: You are probably infected! Get your computer clean on #dmsetup
<Modo> Created 2 days ago, last used 2 days ago
.................bla bla bla
<Modo> ! [2604] *!*@201.240.25.6 (perm)
<Modo> Op4: You are probably infected! Get your computer clean on #dmsetup
<Modo> Created 4 days ago
.................bla bla bla
<Modo> ! [4613] *!*@190.50.111.90 (perm)
<Modo> Op2: You are probably infected! Get your computer clean on #dmsetup
<Modo> Created 4 days ago
<Modo> ! [4614] *!*@190.173.213.81 (perm)
<Modo> Op7: You are probably infected! Get your computer clean on #dmsetup
<Modo> Created 4 days ago
so i have 4614 bans in userlist, and i want that with one public command remove all this bans. maybe !erasebans.
I don't want use: .-ban #chan *!*@... for every ban, u know.
.clearbans #channel [creator]
## remove all bans on #channel or only those set by [creator]
.clearbans -global [creator]
## remove all global bans or only those set by [creator]
.clearbans -all [creator]
## remove all bans or only those set by [creator]
From extra.tcl and netbots.tcl (components of netbots scripts by slennox)