| View previous topic :: View next topic |
| Author |
Message |
Dragen Voice
Joined: 15 Nov 2010 Posts: 3
|
Posted: Sat Jan 01, 2011 9:16 am Post subject: (Solved) Eggdrop dies with latest BogusTrivia |
|
|
Hi.
I updated my BogusTrivia today, and now my eggdrop dies when trying to load the script:
| Code: | [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 |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Sat Jan 01, 2011 9:33 am Post subject: |
|
|
| Code: | | 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: | | 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. _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
Dragen Voice
Joined: 15 Nov 2010 Posts: 3
|
Posted: Sat Jan 01, 2011 2:29 pm Post subject: |
|
|
| Thank you, that worked. |
|
| Back to top |
|
 |
|