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.

score tcl for BogusTrivia

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
User avatar
crux
Voice
Posts: 35
Joined: Fri Jan 05, 2007 12:41 pm
Location: Myanmar
Contact:

score tcl for BogusTrivia

Post by crux »

Hello
I wanna request score tcl for BogusTrivia eggdrop. And stores all score in an HTML file.
m
minhtikemin
Voice
Posts: 1
Joined: Wed Jan 10, 2007 8:42 am

Post by minhtikemin »

i am too request score tcl for BogusTrivia eggdrop. And stores all score in an HTML file.
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

ReadMe.txt wrote:

Code: Select all

################################################## Date: 14Nov06 ##
##   BogusTrivia 2.04  by SpiKe^^     :undernet: #pc-mirc-help   ##
###################################################################

###################################################################
#      Script has been well tested, and seems to be stable.       #
#                 ! USE AT YOUR OWN RISKS !                       #
#                                                                 #
#   Sample Music Question file is included  (20,000 questions)    #
#                                                                 #
#          Please report bugs or make comments at:                #
#                 irc: undernet: #pc-mIRC-help                    #
#               email: mossdaemon@yahoo.com                       #
Have you ever read "The Manual"?
T
Torrevado
Op
Posts: 101
Joined: Wed Aug 02, 2006 6:29 pm

bogustrivia bug

Post by Torrevado »

Well, I have a problem with Bogustriva.tcl v2.05 (yes, I've already reported it to the script' author).

This version (I used v 2.02 before without problems) doesn't allow to use letter "ñ", that is: if there is an answer with "ñ" the script won't recognize it.

I have been on the Bogustrivia.tcl support channel and I just received this comment: "it is a translation problem"

What does it mean? Could it be fixed?


Thanks
Last edited by Torrevado on Mon May 07, 2007 1:04 pm, edited 1 time in total.
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

new script version posted

Post by SpiKe^^ »

new version 2.05.2 is now posted to mytclscripts.com

fixes a couple bad problems in 2.05 and anyone using ver2.05 should upgrade now. expect this may fix fly's issue:)
User avatar
crux
Voice
Posts: 35
Joined: Fri Jan 05, 2007 12:41 pm
Location: Myanmar
Contact:

Re: new script version posted

Post by crux »

SpiKe^^ wrote:new version 2.05.2 is now posted to mytclscripts.com

fixes a couple bad problems in 2.05 and anyone using ver2.05 should upgrade now. expect this may fix fly's issue:)
Good news Thank you much SpiKe^^ :D
User avatar
crux
Voice
Posts: 35
Joined: Fri Jan 05, 2007 12:41 pm
Location: Myanmar
Contact:

Post by crux »

Hello SpiKe^^
I got this error, can't load new t-2.tcl

Code: Select all

[01:18] syntax error in expression "$rline ne "" && $rline ne " ""
    ("if" test expression)
    while compiling
"if {$rline ne "" && $rline ne " "} { lappend rlins $rline }"
    ("foreach" body line 2)
    invoked from within
"foreach rline $t2(rndlin) {
   if {$rline ne "" && $rline ne " "} { lappend rlins $rline }
  }"
    invoked from within
"if {$t2(randad)>"0"} {
  set t2(rndlin) [split $t2(rndlin) "\n"]  ;  set rlins ""
  foreach rline $t2(rndlin) {
   if {$rline ne "" && $rline ne " "} ..."
    (file "scripts/t-2.tcl" line 305)
    invoked from within
"source scripts/t-2.tcl"
    (file "eggdrop.conf" line 1356)

it's 1st error ... so i disable

Code: Select all

set t2(randad) "0" 

Then reload t-2.tcl ... I got next error ..

Code: Select all

[02:23] syntax error in expression "$qfills ne """
    ("if" test expression)
    while compiling
"if {$qfills ne ""} {
  set tlast ""  ;  set tlist ""  ;  set filcnt 0  ;  set qestot 0
  foreach qesfil $qfills {  incr filcnt
   set temp [split [lin..."
    (compiling body of proc "TCntQes", line 6)
    invoked from within
"TCntQes"
    (file "scripts/t-2.tcl" line 3066)
    invoked from within
"source scripts/t-2.tcl
"
    (file "eggdrop.conf" line 1366)

I like this tcl but with errors can't run :(
pls help me ..
T
Torrevado
Op
Posts: 101
Joined: Wed Aug 02, 2006 6:29 pm

Re: new script version posted

Post by Torrevado »

SpiKe^^ wrote:new version 2.05.2 is now posted to mytclscripts.com

fixes a couple bad problems in 2.05 and anyone using ver2.05 should upgrade now. expect this may fix fly's issue:)
No :cry:

It still doesn't allow to use letter "ñ", that is: if there is an answer with "ñ" the script won't recognize it ( v 2.02 didn't have that "bug")
User avatar
crux
Voice
Posts: 35
Joined: Fri Jan 05, 2007 12:41 pm
Location: Myanmar
Contact:

Post by crux »

hello Fly, did u got errors as like me ?
t-2.tcl is't not working on me :(
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

nyilad wrote:hello Fly, did u got errors as like me ?
t-2.tcl is't not working on me :(
The 'ne' operator was introduced in tcl 8.4, which means you need tcl 8.4 or newer to run that script (or you could replace all the 'ne's with '!=' and see if it runs)
Have you ever read "The Manual"?
User avatar
crux
Voice
Posts: 35
Joined: Fri Jan 05, 2007 12:41 pm
Location: Myanmar
Contact:

Post by crux »

user wrote:
nyilad wrote:hello Fly, did u got errors as like me ?
t-2.tcl is't not working on me :(
The 'ne' operator was introduced in tcl 8.4, which means you need tcl 8.4 or newer to run that script (or you could replace all the 'ne's with '!=' and see if it runs)

I already changed all "ne" to "!=" ... but I got error in next operator ..

Code: Select all

[12:48] syntax error in expression "$tmct eq """
    ("if" test expression)
    while compiling
"if {$tmct eq ""} {  set tmcnt 0  }"
    ("if" else script line 2)
    while compiling
"if {[llength $temp]=="3"} {  incr qestot 1000  ;  lappend tlist $qesfil
   } else {  set tmct [string trimleft [lindex $temp 2] 0]
     if {$tmct eq "..."
    ("foreach" body line 3)
    while compiling
"foreach qesfil $qfills {  incr filcnt
   set temp [split [lindex [split $qesfil /] end] .]
   if {[llength $temp]=="3"} {  incr qestot 1000  ;  lappen..."
    ("if" then script line 3)
    while compiling
"if {$qfills != ""} {
  set tlast ""  ;  set tlist ""  ;  set filcnt 0  ;  set qestot 0
  foreach qesfil $qfills {  incr filcnt
   set temp [split [lin..."
    (compiling bo
[12:48] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

fly.. the eq was introduced at the same time as the ne.

try replacing the eq with ==
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

above message was ment for nyilad, oops

fly, explain your problems better... any errors if you leave a chat open with the triv bot? just doesnt reply at all?? post few questions you have issues with here:) ill see what i can fugure out
T
Torrevado
Op
Posts: 101
Joined: Wed Aug 02, 2006 6:29 pm

Post by Torrevado »

nyilad wrote:hello Fly, did u got errors as like me ?
t-2.tcl is't not working on me :(
No, I didn't.

Bogustrivia works fine if you use "english" chars, at least it worked for me. My problem is that the script doesn't recognize "Spanish" chars.

But the script works correctly in english ...
T
Torrevado
Op
Posts: 101
Joined: Wed Aug 02, 2006 6:29 pm

Post by Torrevado »

SpiKe^^ wrote: fly, explain your problems better... any errors if you leave a chat open with the triv bot? just doesnt reply at all?? post few questions you have issues with here:) ill see what i can fugure out
Example:

<TrivBot> Question: "Spain" in Spanish lang?
<TrivBot> 1st Hint:****ñ*
<Player_1> España
<TrivBot> 2nd Hint:Es**ñ*
<Player_2> España
<TrivBot> 3rd Hint:Es**ña
<TrivBot> Time's out! The answer was -> España <-

Other (example) words: Gran Bretaña, pequeño, galeón, cáliz... etc

The script ignores all answers containing that chars... (I repeat: not in version 2.02, it worked fine) :)

I haven't noticed more errors
Post Reply