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 75 matches

by thommey
Wed Feb 16, 2011 9:16 pm
Forum: Script Requests
Topic: im in need of a timed event
Replies: 25
Views: 17396

For the switch error: switch -nocase -- [lindex ..] { "--" marks the end of options. For the opchars issue, the opchars feature in Eggdrop is useless, it only works on the initial join of the bot, it doesn't even parse +a/+q changes. It's planned to be fixed, but in the meantime you can us...
by thommey
Sat Feb 05, 2011 11:34 am
Forum: Eggdrop Help
Topic: eggdrop - autojoin
Replies: 2
Views: 3215

Usually caused by 3rd party scripts (most likely nickserv identification things), disable all your scripts and try again
by thommey
Tue Jan 25, 2011 10:01 pm
Forum: Eggdrop Help
Topic: can't set timezone...
Replies: 3
Views: 5295

Code: Select all

set env(TZ) "$timezone $offset"
is actually a bug (fixed in cvs), it should be

Code: Select all

set env(TZ) "$timezone$offset"
maybe that helps, too
by thommey
Tue Jan 25, 2011 12:05 am
Forum: Scripting Help
Topic: inverted flags?
Replies: 1
Views: 2139

How do you know, on join, if a person is an op? Is your Eggdrop the only bot responsible for handing out those op rights? If it is, then you can just bind join - * and check in the proc (if {[matchattr $hand o|o $chan]} { return 0 } at the beginning to prevent execution of the rest of it). In case y...
by thommey
Thu Jan 06, 2011 11:25 am
Forum: Scripting Help
Topic: [SOLVED!] getting msg binds to work
Replies: 8
Views: 9514

Avoiding "args" because it's special is just the generic advice for beginners who use it without being aware of the special meaning instead of "text" or something else.

You can read about it here (chapter 7.5) and/or here
by thommey
Mon Jan 03, 2011 10:16 pm
Forum: Scripting Help
Topic: mysql
Replies: 7
Views: 8222

It took you 7 months to figure that out?
Yes, you can 'apt-get install mysqltcl'. You load it in your script using 'package require mysqltcl', the documentation is here: http://www.xdobry.de/mysqltcl/mysqltcl.html
You can find examples here and more documentation at http://wiki.tcl.tk/mysqltcl
by thommey
Fri Dec 31, 2010 11:46 pm
Forum: Scripting Help
Topic: [SOLVED!] getting msg binds to work
Replies: 8
Views: 9514

bind pub - !cmd docmd bind msg - cmd docmd proc docmd {args} { # for pub we have 5 arguments, for msg it's 4 if {[llength $args] == 5} { # <=Tcl8.4 compatible way (instead of lassign): # foreach {nick host hand chan text} $args break lassign $args nick host hand chan text set replytarget $chan } el...
by thommey
Sat Dec 11, 2010 2:52 pm
Forum: Eggdrop Help
Topic: Problem TCL [solved]
Replies: 4
Views: 7982

You should ask your system adminsitrator to install Tcl for you, gentoo has a package system, it's a trivial task for them.

Anyway, if you really insist on installing it locally... http://eggwiki.org/Local_Tcl

tk85b3-src.zip is completely wrong.
by thommey
Thu Dec 02, 2010 12:42 pm
Forum: Eggdrop Help
Topic: console levels
Replies: 1
Views: 2471

they're not used by eggdrop, they're reserved for scripts (well and modules apparently) to do whatever they want with them
by thommey
Wed Nov 17, 2010 9:45 am
Forum: Eggdrop Help
Topic: infinite loop after .rehash
Replies: 7
Views: 5820

Anahel: Somewhere in that tvrage.tcl I assume there's a line that just says "init" (somewhere at the bottom). Try to replace that by "after 1 init" and tell us if that fixes the issue please.

Whatever75: Which script causes it for you?
by thommey
Mon Nov 15, 2010 10:36 pm
Forum: Scripting Help
Topic: !args - mysql !command script
Replies: 2
Views: 3135

#1: bind pubm - "% !*" dostuff last argument to dostuff will be the full string "!test a b c" bind pubm in the reference manual #2: no "automation", but you can just string map it (regsub needs special treatment of special chars which is ugly) set output [string map [li...
by thommey
Wed Nov 10, 2010 11:05 am
Forum: Eggdrop Help
Topic: when ever i try to set an exepmt i get an error.
Replies: 2
Views: 2379

Make sure to set use-exempts _after_ setting the net-type to override the net-type defaults
by thommey
Tue Nov 02, 2010 9:39 am
Forum: Eggdrop Help
Topic: eggdrop 1.8 +ipv6 +ssl
Replies: 2
Views: 5584

Did you read doc/TLS and doc/IPV6 yet? Do you have specific questions? Nothing extraordinary is required to get SSL and IPv6 to work.
by thommey
Fri Oct 22, 2010 3:00 am
Forum: Scripting Help
Topic: Bind a formatted string
Replies: 4
Views: 3552

So my first question is, where the mistake is in my code Almost everything starting from the second if is syntactically broken, it doesn't follow Tcl syntax. Tcl syntax: http://wiki.tcl.tk/dodekalogue . To see a more fine grained complaint about all your syntax errors (oh, and of course why your br...
by thommey
Mon Oct 11, 2010 6:43 am
Forum: Scripting Help
Topic: I need help with binding multiple commands to one proc
Replies: 1
Views: 3176

If you need an additional static parameter, use this: bind pub - !sysinfo "myproc sysinfo" bind pub - !bla "myproc bla" proc myproc {param nick host hand chan text} { # $param is now either "sysinfo" or "bla" } If you want to know which bindmask (trigger for b...