This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 14 matches

by Jil Larner
Mon Jun 13, 2005 6:24 am
Forum: Archive
Topic: Help with writing and checking files
Replies: 15
Views: 5449

well, try to change the if statement for

if {[lsearch -exact $chan $chans] != -1}

i don't know the real behaviour with ![cmd] == smth. The line above might work better
by Jil Larner
Sat Jun 11, 2005 11:17 am
Forum: Archive
Topic: Help with writing and checking files
Replies: 15
Views: 5449

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 ;)
by Jil Larner
Tue Aug 24, 2004 11:08 am
Forum: Archive
Topic: nick mode script
Replies: 7
Views: 5229

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 {...
by Jil Larner
Tue Aug 24, 2004 10:56 am
Forum: Archive
Topic: nick mode script
Replies: 7
Views: 5229

/mode #chan +f [10n#N5]:15
10 nick change in 15 seconds leads server to put +N for 5 minutes. Is-it good ?
by Jil Larner
Tue Aug 24, 2004 10:50 am
Forum: Archive
Topic: nick mode script
Replies: 7
Views: 5229

Hi,

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.
by Jil Larner
Tue Aug 24, 2004 10:45 am
Forum: Archive
Topic: missing close-bracket (repeatkick.tcl)
Replies: 7
Views: 3319

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...
by Jil Larner
Sun Aug 22, 2004 10:46 am
Forum: Archive
Topic: on|off function
Replies: 8
Views: 2854

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...
by Jil Larner
Sun Aug 22, 2004 10:25 am
Forum: Archive
Topic: Need help with utimer then killutimer
Replies: 6
Views: 2245

hi,

uh... timer is automatically killed when finished running proc. No ?
by Jil Larner
Sun Aug 22, 2004 9:57 am
Forum: Archive
Topic: on|off function
Replies: 8
Views: 2854

Hi,

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.
by Jil Larner
Sun Aug 22, 2004 9:41 am
Forum: Archive
Topic: isop function doesn't work ?!
Replies: 8
Views: 2495

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...
by Jil Larner
Fri Aug 20, 2004 2:13 pm
Forum: Archive
Topic: isop function doesn't work ?!
Replies: 8
Views: 2495

No, on partyline :

Code: Select all

.tcl botisop #ludwig
Tcl: 0
But bot is op on this channel ! :o :cry:
by Jil Larner
Fri Aug 20, 2004 1:17 pm
Forum: Archive
Topic: isop function doesn't work ?!
Replies: 8
Views: 2495

With or without return 1, botisop returns false after the first putkick. Any idea ?
by Jil Larner
Fri Aug 20, 2004 12:59 pm
Forum: Archive
Topic: isop function doesn't work ?!
Replies: 8
Views: 2495

Thanks, i gonna try. I just believed that would be quicker
by Jil Larner
Fri Aug 20, 2004 8:44 am
Forum: Archive
Topic: isop function doesn't work ?!
Replies: 8
Views: 2495

isop function doesn't work ?!

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...