Look at you error and variable name, you used settings instead of setting.
The error occurs in the notice text when the channel is already in the bot database
Ok, i have a tcl script for eggdrop which permit me to ban users who flood nick. But it is individual. n nick change by uhost. bind nick - * scanner:nick # Set limit set flood_nc_limit 9 proc scanner:nick {nick uhost handle channel newnick} { global flood_nc_limit NickChangeCount NickChangeTime if {...
If the IRCd is Unreal, there is the channel mode +f which can set +N mode to stop flood nick. But be careful, if i remember Anope Services pass through and your limit must be good, because in an active channel, nicks can change fast without really flood.
Hi, let [channels] into foreach. I think repeatkick($chan) is defined before in the proc so when tcl wants to create an array, it can't because variable is already defined, and not with an array type. You can try to add unset repeatkick just before foreach() but be careful, i don't know the script s...
i'm not sure of what you want but... Your command gives you the status avaible in the mysql table. If you want to change this status do default, i think you should make another command. Otherwise you would always set database field to you default variable. So; why check in a database a thing which i...
this part of the script doesn't add anything in the database... It only selects. Look for a "INSERT INTO" somewhere, and there, modify the default value you want.
I tried something : if {![botisop $channel] && ![botishalfop $channel]} { putquick "PRIVMSG ChanServ :op $channel" } So, when the bot thinks it's not anymore opped (what is false because with a putserv "MODE #chan +o otheruser" it works), it uses chanserv to enforce +o mo...
Hello, I have a tcl script which detects smilies flood and, when needed, kick or ban the user. Because the bot isn't always op/halfop I have a : if {![botisop $channel] && ![botishalfop $channel]} { return 0 } The first time, it works, user is notified, and, after, kicked. But just after kic...