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 StarLion
Tue Feb 03, 2009 10:12 am
Forum: Eggdrop Help
Topic: keep-all-logs and switch-logfiles-at
Replies: 0
Views: 2038

keep-all-logs and switch-logfiles-at

How do these two settings interact? What i'm -trying- to do is set the bot so that it cycles log files at EST 03:00, saving all the data in the logfile from the day that it's turning into (IE: at 3:00 AM EST on the 3rd of February, the bot starts to write into channame.log.03Feb2009. Everything from...
by StarLion
Thu Dec 25, 2008 7:09 pm
Forum: Scripting Help
Topic: Nick Binds triggering multiple times?
Replies: 1
Views: 1923

Nick Binds triggering multiple times?

I have a command bound to nick (IE: Nickname changes) on all channels.

Whenever someone changes nicknames, this script triggers - once for every single channel the person and bot share.

Is there a way to limit this to a single execution per nick change?
by StarLion
Tue Apr 01, 2008 1:31 pm
Forum: Scripting Help
Topic: MD5 package missing
Replies: 3
Views: 2342

MD5 package missing

If when i compile my script, i try to use the MD5 space (calling 'package require md5'), and get a 'cant find package' error... is there anything I can do, if i dont own the server?
by StarLion
Thu Feb 14, 2008 3:01 pm
Forum: Eggdrop Help
Topic: Error 127
Replies: 11
Views: 19404

I had this issue also... but found a resolution; I assume most people have done the default install of TCL. Copy your libtcl8.5.so file from /usr/local/lib/ to /lib/ Run ldconfig (mine was /sbin/ldconfig) Retry the configure/make config/make process. Eggdrop should find the file. (if this doesnt wor...
by StarLion
Sun Jul 01, 2007 8:53 am
Forum: Scripting Help
Topic: "Variable References Require Preceding $"
Replies: 2
Views: 7959

*sigh* always the very small stuff that trips me up -_-

thanks!
by StarLion
Sat Jun 30, 2007 8:19 pm
Forum: Scripting Help
Topic: "Variable References Require Preceding $"
Replies: 2
Views: 7959

"Variable References Require Preceding $"

errorInfo Output: Currently: syntax error in expression " $valid == 1 && [string index [lindex $text 0] 0] != [string...": variable references require preceding $ Line in question if { $valid == 1 && [string index [lindex $text 0] 0] != [string index $curcard 0] && ...
by StarLion
Thu Jun 28, 2007 5:22 pm
Forum: Scripting Help
Topic: lreplace to single value...?
Replies: 4
Views: 3111

okay, nevermind, i'm a doofus. Forgot the $ in front of the 'cardcounts' in the lreplace...
by StarLion
Thu Jun 28, 2007 1:29 pm
Forum: Scripting Help
Topic: lreplace to single value...?
Replies: 4
Views: 3111

Well, let me review. Here's the proc chain that's being called: proc startgame {nick host hand chan text} { global players gamestate hands coloring coloringend deckstring gamechan if {$chan == $gamechan && $gamestate == 2 && [llength $players] > 1} { set gamestate 3 putquick "PR...
by StarLion
Thu Jun 28, 2007 12:56 pm
Forum: Scripting Help
Topic: lreplace to single value...?
Replies: 4
Views: 3111

i've tried

Code: Select all

set cardcounts [lreplace $cardcounts $target $target $newcardc]
but this makes $cardcounts a local variable, and destroys it (AND the global copy) at end of proc... which is very odd to me considering $cardcounts is locally created using

Code: Select all

global cardcounts
...
by StarLion
Thu Jun 28, 2007 10:42 am
Forum: Scripting Help
Topic: lreplace to single value...?
Replies: 4
Views: 3111

lreplace to single value...?

set newcardc [lindex $cardcounts $target] incr newcardc 1 lreplace $cardcounts $target $target $newcardc putlog "Replace Node: Attempt: $newcardc Actual: [lindex $cardcounts $target]" This code outputs "Replace Node: Attempt: 1 Actual: 0"... indicating my lreplace didnt actually...
by StarLion
Thu Apr 06, 2006 6:04 pm
Forum: Eggdrop Help
Topic: Bot sets modes when owner joins.
Replies: 4
Views: 4676

The only non-standard scripts: dice.tcl (A die roller that doesnt even contain the word 'mode' in it) av.tcl : bind join - * join:auto_voice proc join:auto_voice {nick host hand chan} { pushmode $chan +v $nick } Though judging by the 'timing' of the mode change (I've noticed it also triggers wheneve...
by StarLion
Thu Apr 06, 2006 3:57 pm
Forum: Eggdrop Help
Topic: Bot sets modes when owner joins.
Replies: 4
Views: 4676

Bot sets modes when owner joins.

Whenever an owner (current flags: jlmnoptx global, no channel) joins a channel my bot has ops on, the bot procedes to try and set modes on the channel equal to the owner's name. IE: Cecilia joins the channel, the bot tries to set +Cecila on the channel, which on my particular network gets truncated ...
by StarLion
Tue Dec 20, 2005 7:06 pm
Forum: Eggdrop Help
Topic: Odd habit.. (+i)
Replies: 2
Views: 7245

The only script loaded in addition to the defaults is a dice roller script, that doesnt even contain an instance of the word 'mode'..
by StarLion
Tue Dec 20, 2005 6:21 pm
Forum: Eggdrop Help
Topic: Odd habit.. (+i)
Replies: 2
Views: 7245

Odd habit.. (+i)

My bot has set up, executes its scripts correctly... but it's picked up an odd habit.

Whenever someone joins or parts the channel, it sets mode +i on the channel, even when the channel defintion contains -i as a chanmode.

Anyone have an idea?