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 

Trivia 2000
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
BigBen
Voice


Joined: 07 Oct 2006
Posts: 21

PostPosted: Tue Oct 31, 2006 8:08 pm    Post subject: Trivia 2000 Reply with quote

I need help getting the Trivia 2000 script running, i did some few things, i did.

source scripts/trivia_2000v2.2.tcl
source scripts/art_lit
soruce scripts/entertainment
source scripts/geography
source scripts/history
source scripts/queen
source scripts/science_nature
source scripts/sport_leisure

last time i put it in a diffrent file, and went in the tcl script, and then put the file name like C:\Trivia-scores\Scores that didnt work,

anyone know how to get it working?
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Oct 31, 2006 8:18 pm    Post subject: Reply with quote

You configure the script trivia_2000v2.2.tcl and load it, it ONLY. You shouldn't load the other question files via source.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
BigBen
Voice


Joined: 07 Oct 2006
Posts: 21

PostPosted: Tue Oct 31, 2006 8:35 pm    Post subject: Reply with quote

I edited the script, and i get [19:34] Tcl error [strip_colour_codes]: couldn't open "C:/Trivia-Questions/entertainment.txt": no such file or directory


I got that in there, and i got copys of them in the eggdrop bot folder scripts.
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Oct 31, 2006 8:53 pm    Post subject: Reply with quote

Well it's clear, "no such file or directory." Put the files in the correct directory.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
BigBen
Voice


Joined: 07 Oct 2006
Posts: 21

PostPosted: Sun Nov 05, 2006 6:52 pm    Post subject: Reply with quote

i did something kinda like this C:\Trivia-Questions\geography.txt


and C://Trivia-Questions//geography.txt and they come out with:

[17:46] Tcl error [strip_colour_codes]: couldn't open "C:Trivia-Questionsentertainment.txt": no such file or directory


[17:43] Tcl error [strip_colour_codes]: couldn't open "C://Trivia-Questions//entertainment.txt": no such file or directory


i thought about putting \\ but i think that wont work.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Nov 05, 2006 7:27 pm    Post subject: Reply with quote

This sounds very familiar in another post somewhere:

You place everything regarding that trivia script into ~./scripts directory.

Edit the Tcl file (if at all required) so that it points to the necessary text files i.e "./scripts/geography.txt"

This works with Windrops and eggdrops.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
BigBen
Voice


Joined: 07 Oct 2006
Posts: 21

PostPosted: Sun Nov 12, 2006 7:54 pm    Post subject: Reply with quote

something bad is always happening, when someone gets a answer right, and it shows: [18:51] Tcl error [answercheck]: error reading "file15": illegal operation on a directory


i look in it, and put a # to make it stop, but it still says it. plus it;s going in file order, like file 15, file 16 and so on
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Nov 12, 2006 8:54 pm    Post subject: Reply with quote

the file15, etc, errors are errors from open/close operations.. I'd dump the script if it has those kinds of errors. Plenty of better written trivia scripts available.
Back to top
View user's profile Send private message
Ian-Highlander
Op


Joined: 24 Sep 2001
Posts: 165
Location: Ely, Cambridgeshire

PostPosted: Mon Nov 13, 2006 6:28 am    Post subject: Reply with quote

rosc2112 wrote:
the file15, etc, errors are errors from open/close operations.. I'd dump the script if it has those kinds of errors. Plenty of better written trivia scripts available.


Thanks, I'll try not to take that too personally Laughing

In fairness though I never tested the script on Windows eggdrops and only ever ran it on "real" ones as I have no interest in winbots whatsoever.

However, there are many many people using my script on Windows bots with no problems whatsoever so it sounds more like a local issue on that machine.

By the way, my script may not be the best written script in the world in your opinion, but it is the number seven highest downloaded script from egghelp.org and has the highest downloads of any trivia quiz by a long way. I'll let the figures speak for themselves Wink
_________________
"Insanity Takes Its Toll, Please Have Exact Change"
Back to top
View user's profile Send private message Send e-mail
chubbychub
Voice


Joined: 09 Oct 2005
Posts: 38
Location: gotham city

PostPosted: Sun Dec 03, 2006 11:55 pm    Post subject: Reply with quote

source scripts/trivia_2000v2.2.tcl
source scripts/art_lit
soruce scripts/entertainment
source scripts/geography
source scripts/history
source scripts/queen
source scripts/science_nature
source scripts/sport_leisure

the third line is wrong...its 'SOURCE' and not 'SORUCE'
Back to top
View user's profile Send private message
Ian-Highlander
Op


Joined: 24 Sep 2001
Posts: 165
Location: Ely, Cambridgeshire

PostPosted: Fri Dec 08, 2006 6:14 pm    Post subject: Reply with quote

chubbychub wrote:
source scripts/trivia_2000v2.2.tcl
source scripts/art_lit
soruce scripts/entertainment
source scripts/geography
source scripts/history
source scripts/queen
source scripts/science_nature
source scripts/sport_leisure

the third line is wrong...its 'SOURCE' and not 'SORUCE'


Doesnt matter, its not called like that anyway, only the first line should be in the config file. The locations for the question files are all configured at the top of the script itself.
_________________
"Insanity Takes Its Toll, Please Have Exact Change"
Back to top
View user's profile Send private message Send e-mail
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Dec 08, 2006 8:21 pm    Post subject: Reply with quote

In a perfect world all the effort that scriptors put into detailed (clear and concise) instructions in their file headers will actually be read.

If that happened I guess we'd all be out of a "job". Laughing
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Dec 08, 2006 10:26 pm    Post subject: Reply with quote

Alchera wrote:
In a perfect world all the effort that scriptors put into detailed (clear and concise) instructions in their file headers will actually be read.

If that happened I guess we'd all be out of a "job". Laughing


nah, you'd still be guessing what nowadays eggdrop owners actually want Wink
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
wonka071
Voice


Joined: 27 Aug 2006
Posts: 13

PostPosted: Thu Dec 28, 2006 3:57 pm    Post subject: addon to script Reply with quote

looking to see if can add this to this script (Trivia_2000v2.2)
I had a mIRC trivia script were I could add titles to the script for X# of points per player ?
exp. player abc seaches 30 points now the bot tell him u are not trivia private
it would also save this title untill the next title is seached
Thx in advance
Back to top
View user's profile Send private message
Ian-Highlander
Op


Joined: 24 Sep 2001
Posts: 165
Location: Ely, Cambridgeshire

PostPosted: Fri Dec 29, 2006 7:21 pm    Post subject: Reply with quote

Well I'm always open to suggestions with the script but don't actually understand what you mean, if you can explain it a bit more thoroughly for me, if I like the idea I'll stick it on my "to do" list for Trivia 2000.

Cheers

Ian
_________________
"Insanity Takes Its Toll, Please Have Exact Change"
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases 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