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 

score tcl for BogusTrivia
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
crux
Voice


Joined: 05 Jan 2007
Posts: 35
Location: Myanmar

PostPosted: Fri Jan 05, 2007 2:40 pm    Post subject: score tcl for BogusTrivia Reply with quote

Hello
I wanna request score tcl for BogusTrivia eggdrop. And stores all score in an HTML file.
Back to top
View user's profile Send private message Visit poster's website
minhtikemin
Voice


Joined: 10 Jan 2007
Posts: 1

PostPosted: Wed Jan 10, 2007 8:49 am    Post subject: Reply with quote

i am too request score tcl for BogusTrivia eggdrop. And stores all score in an HTML file.
Back to top
View user's profile Send private message
user
 


Joined: 18 Mar 2003
Posts: 1452
Location: Norway

PostPosted: Wed Jan 10, 2007 10:06 am    Post subject: Reply with quote

ReadMe.txt wrote:
Code:
################################################## 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"?
Back to top
View user's profile Send private message
Torrevado
Op


Joined: 02 Aug 2006
Posts: 101

PostPosted: Fri Mar 02, 2007 2:48 pm    Post subject: bogustrivia bug Reply with quote

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
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 792
Location: Tennessee, USA

PostPosted: Wed Mar 07, 2007 7:37 pm    Post subject: new script version posted Reply with quote

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:)
Back to top
View user's profile Send private message Visit poster's website
crux
Voice


Joined: 05 Jan 2007
Posts: 35
Location: Myanmar

PostPosted: Thu Mar 08, 2007 4:40 am    Post subject: Re: new script version posted Reply with quote

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^^ Very Happy
_________________
Myanmar Chat Online
MCO Chat
Back to top
View user's profile Send private message Visit poster's website
crux
Voice


Joined: 05 Jan 2007
Posts: 35
Location: Myanmar

PostPosted: Thu Mar 08, 2007 5:19 am    Post subject: Reply with quote

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

Code:
[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:
set t2(randad) "0"



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

Code:
[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 Sad
pls help me ..
_________________
Myanmar Chat Online
MCO Chat
Back to top
View user's profile Send private message Visit poster's website
Torrevado
Op


Joined: 02 Aug 2006
Posts: 101

PostPosted: Thu Mar 08, 2007 1:14 pm    Post subject: Re: new script version posted Reply with quote

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 Crying or Very sad

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")
Back to top
View user's profile Send private message
crux
Voice


Joined: 05 Jan 2007
Posts: 35
Location: Myanmar

PostPosted: Thu Mar 08, 2007 1:29 pm    Post subject: Reply with quote

hello Fly, did u got errors as like me ?
t-2.tcl is't not working on me Sad
_________________
Myanmar Chat Online
MCO Chat
Back to top
View user's profile Send private message Visit poster's website
user
 


Joined: 18 Mar 2003
Posts: 1452
Location: Norway

PostPosted: Thu Mar 08, 2007 3:11 pm    Post subject: Reply with quote

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

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"?
Back to top
View user's profile Send private message
crux
Voice


Joined: 05 Jan 2007
Posts: 35
Location: Myanmar

PostPosted: Thu Mar 08, 2007 4:50 pm    Post subject: Reply with quote

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

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:
[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)

_________________
Myanmar Chat Online
MCO Chat
Back to top
View user's profile Send private message Visit poster's website
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 792
Location: Tennessee, USA

PostPosted: Thu Mar 08, 2007 5:42 pm    Post subject: Reply with quote

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

try replacing the eq with ==
Back to top
View user's profile Send private message Visit poster's website
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 792
Location: Tennessee, USA

PostPosted: Thu Mar 08, 2007 5:47 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Torrevado
Op


Joined: 02 Aug 2006
Posts: 101

PostPosted: Thu Mar 08, 2007 6:26 pm    Post subject: Reply with quote

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


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 ...
Back to top
View user's profile Send private message
Torrevado
Op


Joined: 02 Aug 2006
Posts: 101

PostPosted: Thu Mar 08, 2007 7:43 pm    Post subject: Reply with quote

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) Smile

I haven't noticed more errors
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 Requests All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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