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.

triviapluswth.tcl error

Support & discussion of released scripts, and announcements of new releases.
Post Reply
j
jurist111
Voice
Posts: 20
Joined: Thu Aug 26, 2010 8:36 am
Location: pakistan

triviapluswth.tcl error

Post by jurist111 »

<(DR-BPS> [07:41] * triviaplus V2.0 AKA triviapluswth.tcl
<(DR-BPS> [07:41] * The Enhanced Version by Hairy Scary loaded.
<(DR-BPS> [07:41] * based upon:
<(DR-BPS> [07:41] * trivia.tcl 1.3.4 release by Souperman
<(DR-BPS> [07:41] * Enhanced with:
<(DR-BPS> [07:41] * - Multiplechoice questions
<(DR-BPS> [07:41] * - A !choose for multiple categories or questionfiles
<(DR-BPS> [07:41] * - A cheat protection for stopping guessing and trying
<(DR-BPS> [07:41] * WTH:
<(DR-BPS> [07:41] * - question layout
<(DR-BPS> [07:41] * - reading the question files randomly or sequential
<(DR-BPS> [07:41] * Visit http://www.eggdrop.za.net/ for updates for trivia.tcl
<(DR-BPS> [07:41] * 10300 questions in scripts/triv.questions.txt (668308 bytes)
<(DR-BPS> [07:41] Tcl error in file 'DRBPS.conf':
<(DR-BPS> [07:41] can't read "tgrandom": no such variable
<(DR-BPS> while executing
<(DR-BPS> "putlog "* Random is $tgrandom""
<(DR-BPS> (file "scripts/triviapluswth.tcl" line 1339)
<(DR-BPS> invoked from within
<(DR-BPS> "source scripts/triviapluswth.tcl"
<(DR-BPS> (file "DRBPS.conf" line 256)
<(DR-BPS> [07:41] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
<(DR-BPS> [11] Chat closed
now below is the 1339 line

Code: Select all

putlog "* Random is $tgrandom"
and this is line 256 in DRBPS.conf
source scripts/triviapluswth.tcl
when i remove line 1339 the bot gives no error n connects to irc but when i type !choose Tcl error [give_choicenew]: can't read "tgrandtxt": no such variable or !start it gives followin error
Tcl error [tgstart]: can't read "tgrandom": no such variable
What to change in the triviapluswth.tcl ? I've put a link on paste bin of the full triviapluswth.tcl.
kindly help me thanks
JuRiSt
Post Reply