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.

Trivia 2000

Support & discussion of released scripts, and announcements of new releases.
B
BigBen
Voice
Posts: 21
Joined: Sat Oct 07, 2006 6:49 pm

Trivia 2000

Post by BigBen »

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?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

You configure the script trivia_2000v2.2.tcl and load it, it ONLY. You shouldn't load the other question files via source.
B
BigBen
Voice
Posts: 21
Joined: Sat Oct 07, 2006 6:49 pm

Post by BigBen »

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.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Well it's clear, "no such file or directory." Put the files in the correct directory.
B
BigBen
Voice
Posts: 21
Joined: Sat Oct 07, 2006 6:49 pm

Post by BigBen »

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.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
B
BigBen
Voice
Posts: 21
Joined: Sat Oct 07, 2006 6:49 pm

Post by BigBen »

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
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

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.
I
Ian-Highlander
Op
Posts: 165
Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire

Post by Ian-Highlander »

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 :lol:

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"
c
chubbychub
Voice
Posts: 38
Joined: Sun Oct 09, 2005 5:30 am
Location: gotham city

Post by chubbychub »

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'
I
Ian-Highlander
Op
Posts: 165
Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire

Post by Ian-Highlander »

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"
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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". :lol:
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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". :lol:
nah, you'd still be guessing what nowadays eggdrop owners actually want ;)
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
w
wonka071
Voice
Posts: 13
Joined: Sun Aug 27, 2006 9:33 pm

addon to script

Post by wonka071 »

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
I
Ian-Highlander
Op
Posts: 165
Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire

Post by Ian-Highlander »

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"
Post Reply