jurist111 Voice
Joined: 26 Aug 2010 Posts: 20 Location: pakistan
|
Posted: Tue Nov 23, 2010 12:02 am Post subject: triviapluswth.tcl error |
|
|
| Quote: |
<(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: |
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
| Quote: |
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 |
|