I would like a script that ban's any parting user in a channel (including operators). (it doesnt matter how long they have been in there, ANY part should result in a ban).
Ok, user joins, parts and the bot sets a +ban. all good.
but, then when I removed the ban the user joined again and he got bankicked directly with the reason, partban. I only wan't it to ban on part.
and, if it could be possible to specifiy banmask/hostmask, it would be great! thanks!
bubl wrote:Ok, user joins, parts and the bot sets a +ban. all good.
but, then when I removed the ban the user joined again and he got bankicked directly with the reason, partban. I only wan't it to ban on part.
bubl wrote:Ok, user joins, parts and the bot sets a +ban. all good.
but, then when I removed the ban the user joined again and he got bankicked directly with the reason, partban. I only wan't it to ban on part.
bind part - * partban
proc partban {n u h c t} {
putquick "MODE $c +b *!$u"
}
if it could be possible to specifiy banmask/hostmask, it would be great! thanks!
to change the mask used, edit the "*!$u" part of the procedure
sry, my english is not that great.. :/
what I am trying to say is that the first example worked great, exept that it banned people when they joined the SECOND time, BEFORE they LEFT the second time.
gah, I suck at explaining.
bubl wrote:
sry, my english is not that great.. :/
what I am trying to say is that the first example worked great, exept that it banned people when they joined the SECOND time, BEFORE they LEFT the second time.
gah, I suck at explaining.
of course the bot would ban on them rejoining, you are removing the ban from the channel's banlist but not off the bot's banlist
the bot was doing what it was made to do
the second example only places the ban into the channel's banlist so that when you remove it the bot does not ban on rejoin
00:00 ::: username!~user@192.168.0.1 has left #channel
00:00 ::: mode/#channel: +b *!user@192.168.0.1 by bot <- works! great!
00:00 ::: mode/#channel: -b+b *!user@192.168.0.1 *!*@192.168.0.1 by bot <- sad panda :cry:
00:00 ::: username!~user@192.168.0.1 has left #channel
00:00 ::: mode/#channel: +b *!user@192.168.0.1 by bot <- works! great!
00:00 ::: mode/#channel: -b+b *!user@192.168.0.1 *!*@192.168.0.1 by bot <- sad panda :cry:
If you use my BanManager, you could also use newchanban. However the ban would only be removeable by known masters and owners (+m/+n) and not by regular ops .
is it +o flag the user need's to be able to use the public command?
and, is it possible to add a user without a handle, only host. (damn basterds keeps changing there nicks).