I got a tlc script to generate html from trivia scores. I made some changes but there is something wrong and i can't find it.
this is the error:
Tcl error in file 'eggdrop.conf':
missing close-brace
while executing
"proc tghtml {} {
global tgchan botnick tghtmlfile tghtmlrefresh server tgscoresbyname tgranksbyname global tgscorestotal tgranksbyname tgrealnames t..."
(file "trivia/trivia.tcl" line 864)
invoked from within
"source trivia/trivia.tcl"
(file "eggdrop.conf" line 218)
* CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
For each { (opening brace) there must be a { (closing brace) in a procedure. Check the total of both opening and closing braces. If they are equal then there should be no problem.
If they are not equal (then the procedure is not closed). Make them equal by adding the missing one(s) in the appropriate places of the procedure (mostly in the end).
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================
awyeah wrote:Na... the error said 'missing close brace'.
Meaning a } heh... nice one
It can also be what Ofloo said...If you make in script with special chars (like is PRIVMSG ]Kami[ etc... and if you don't put \ infront of special chars, you'll get same error...} isn't only close bracket......
awyeah wrote:Maybe, yeah but I'm not sure though. Probobaly because it has never occured to me. It can happen I guess, after all ] [ is a brace as well