but, it does not work ok... in fact, it does not work at all!
I tried to change the code, but with no sucess...
Can you guys see what is wrong with the code? it is made for PTnet, but I think it must be valid in all networks if it works out ok.... and since there is no similar script yet...
It will remove any ban placed in the Channel ban list (/mode #chan +b). The bans placed in the channel akick list (/cs akick #chan add <nick|host>) are unaffected.
PS: Saying simply "does not work" is of no help. Posting the script error does.
Add [SOLVED] to the thread title if your issue has been. Search | FAQ | RTM
bind kick - "* user has been banned from channel" akick:remove
proc akick:remove {nick uhost hand chan targ rsn} {
if {[isbotnick $targ]} {
putquick "CHANSERV :akick $chan del $::botnick"
}
}
The bot will try to remove the akick whenever it's kicked with reason "user has been banned from channel." (ofcourse you can change this)
Eggdrop was kicked by ChanServ (Utilizador banido do canal)
It does not remove the akick... one does not notice os msn the chanserv...
but does /chanserv akick #channel del nick. The chanserv is not on the channel, it's a service...
What could it be wrong?
Eggdrop was kicked by ChanServ (Utilizador banido do canal)
yes, if the bot was bottieboot, it would say bottieboot was kicked by ChanServ (Utilizador banido do canal).
And is the chanserv itself who does the kick...
Does not work either... :\
Does not remove the akick at all....
With that think you wrote does the bot perform /chanserv akick #channel botnick?
It is always the ChanServ who kicks the eggdrop in a akick, bunno if that helps...
it won't support it... Just /chanserv or /quote chanserv
I don't understand... the code is okay right? Or is there something missing?
It seems like it detects the akick, but can't really remove it... does not communicate with chanserv.
(by the way, thanks for all the patience, I think this script is rather usefull to all with similar networks)