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.

(Solved) Eggdrop dies with latest BogusTrivia

Support & discussion of released scripts, and announcements of new releases.
Post Reply
D
Dragen
Voice
Posts: 3
Joined: Mon Nov 15, 2010 1:44 pm

(Solved) Eggdrop dies with latest BogusTrivia

Post by Dragen »

Hi.
I updated my BogusTrivia today, and now my eggdrop dies when trying to load the script:

Code: Select all

[13:49] can't read "tclr(-emsg)": no such element in array
    while executing
"set tclr(-emsg)  "
    (file "scripts2/t-2.tcl" line 917)
    invoked from within
"source scripts2/t-2.tcl"
Using BogusTrivia 2.06.4.2.
Is there a way to fix this?
Last edited by Dragen on Sat Jan 01, 2011 2:28 pm, edited 1 time in total.
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

Code: Select all

set tclr(-msg) 10  ;  set tclr(-emsg)   ;  set t2(setupnik) ""
This line is the problem. For some random reason, he left control codes within the script rather than encoding them properly.

Code: Select all

set tclr(-msg) "\00310"  ;  set tclr(-emsg) "\003"  ;  set t2(setupnik) ""
Changing that line to this, should solve it. Many editors do NOT like control characters left hanging in text. They should always be encoded within eggdrop tcl scripts.
D
Dragen
Voice
Posts: 3
Joined: Mon Nov 15, 2010 1:44 pm

Post by Dragen »

Thank you, that worked.
Post Reply