- if the bot is banned out from chan via X
- he (bot) check if his access enough to unban himself
- if his access level higher or equal with that ban level
- he unban himself
- if lower he do nothing
(and all of this works if x put the ban)
Thx, but this tcl doesn't works, i set in config: source scripts/xstuff.tcl
but when i rehash the bot the xstuff.tcl don't be loaded.
the first time i think, it just dont be appear in partyline, how is loaded. but when i use the command .chanset #chan +xneed he gives me error.
my eggdrops version: 1.7
.chanset #szilagysag +xneed
Successfully set modes { +xneed } on #szilagysag.
[17:08] #[JoNi]_# chanset #szilagysag +xneed
[17:08] #szilagysag: mode change '+b *!*@simulator.users.undernet.org' by X!cservice@undernet.org
[17:08] simulator kicked from #szilagysag by X: (Ignor) No Reason
[17:08] Server says I'm not on channel: #szilagysag
[21:34] -> *x* ban #cricket Cricket
[21:34] * X sets mode: +b *!*@cricket.users.undernet.org
[21:34] * Cricket was kicked by X ((iamdeath) No Reason)
[21:34] -X- Added ban *!*@cricket.users.undernet.org to #cricket at level 75
[21:34] * X sets mode: -b *!*@cricket.users.undernet.org
[21:34] * Joins: Cricket (cricket@cricket.users.undernet.org)
[21:34] * X sets mode: +o Cricket
hi, i have to try what happen if i suspend the bot and after i ban it, and he gives me an error:
simulator kicked from #szilagysag by X: (Ignor) No Reason
[17:39] Tcl error [::xstuff::notices]: no such channel record
[17:39] -X (cservice@undernet.org)- Your access on #szilagysag has been suspended.
[17:39] -X (cservice@undernet.org)- Sorry, you have insufficient access to perform that command
[JoNi] wrote:[17:39] -X (cservice@undernet.org)- Sorry, you have insufficient access to perform that command
how can solve that ?
Read the instructions that come with the script for a start and secondly, fix the channel access. It appears your bot attempted something for which it doesn't have cservice access to do.
Add [SOLVED] to the thread title if your issue has been. Search | FAQ | RTM
[JoNi] wrote:[17:39] -X (cservice@undernet.org)- Sorry, you have insufficient access to perform that command
how can solve that ?
Read the instructions that come with the script for a start and secondly, fix the channel access. It appears your bot attempted something for which it doesn't have cservice access to do.
I think you don't understand what i'm say, so the bot have access simulator/simulator [111] , but i suspended, and after that i banned out from chan. And he gives this error: [17:39] Tcl error [::xstuff::notices]: no such channel record
The question is why ?