egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

(Solved) Eggdrop dies with latest BogusTrivia

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Dragen
Voice


Joined: 15 Nov 2010
Posts: 3

PostPosted: Sat Jan 01, 2011 9:16 am    Post subject: (Solved) Eggdrop dies with latest BogusTrivia Reply with quote

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
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Sat Jan 01, 2011 9:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Dragen
Voice


Joined: 15 Nov 2010
Posts: 3

PostPosted: Sat Jan 01, 2011 2:29 pm    Post subject: Reply with quote

Thank you, that worked.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber