| View previous topic :: View next topic |
| Author |
Message |
BigBen Voice
Joined: 07 Oct 2006 Posts: 21
|
Posted: Tue Oct 31, 2006 8:08 pm Post subject: Trivia 2000 |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Oct 31, 2006 8:18 pm Post subject: |
|
|
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 |
|
 |
BigBen Voice
Joined: 07 Oct 2006 Posts: 21
|
Posted: Tue Oct 31, 2006 8:35 pm Post subject: |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Oct 31, 2006 8:53 pm Post subject: |
|
|
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 |
|
 |
BigBen Voice
Joined: 07 Oct 2006 Posts: 21
|
Posted: Sun Nov 05, 2006 6:52 pm Post subject: |
|
|
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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Nov 05, 2006 7:27 pm Post subject: |
|
|
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 |
|
 |
BigBen Voice
Joined: 07 Oct 2006 Posts: 21
|
Posted: Sun Nov 12, 2006 7:54 pm Post subject: |
|
|
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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sun Nov 12, 2006 8:54 pm Post subject: |
|
|
| 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 |
|
 |
Ian-Highlander Op
Joined: 24 Sep 2001 Posts: 165 Location: Ely, Cambridgeshire
|
Posted: Mon Nov 13, 2006 6:28 am Post subject: |
|
|
| 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
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  _________________ "Insanity Takes Its Toll, Please Have Exact Change" |
|
| Back to top |
|
 |
chubbychub Voice
Joined: 09 Oct 2005 Posts: 38 Location: gotham city
|
Posted: Sun Dec 03, 2006 11:55 pm Post subject: |
|
|
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 |
|
 |
Ian-Highlander Op
Joined: 24 Sep 2001 Posts: 165 Location: Ely, Cambridgeshire
|
Posted: Fri Dec 08, 2006 6:14 pm Post subject: |
|
|
| 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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Dec 08, 2006 8:21 pm Post subject: |
|
|
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".  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Dec 08, 2006 10:26 pm Post subject: |
|
|
| 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".  |
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] tag when posting logs, code |
|
| Back to top |
|
 |
wonka071 Voice
Joined: 27 Aug 2006 Posts: 13
|
Posted: Thu Dec 28, 2006 3:57 pm Post subject: addon to script |
|
|
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 |
|
 |
Ian-Highlander Op
Joined: 24 Sep 2001 Posts: 165 Location: Ely, Cambridgeshire
|
Posted: Fri Dec 29, 2006 7:21 pm Post subject: |
|
|
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 |
|
 |
|