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 path

Old posts that have not been replied to for several years.
Locked
M
Mash
Voice
Posts: 24
Joined: Sat May 29, 2004 12:44 am

Trivia path

Post by Mash »

Hey ..
I am tryin to fix a path for setting different catogories in a trivia script, but seems not to get it right.

script is triviaplus.tcl

Code: Select all

#Cheat protection for blocking people from just trying and guessing.
#This is especially handy with multiplechoice question with one answer.
#They have to wait for the next hint or answer.
#
#	Greetings Hairy_Scary@hotmail.com 21-06-2004 
###########################################################################

#  The full path to the file containing the questions and answers.
#  The account the bot runs on must have read access to this file.
#  This is the default question file used at startup
set tgqdb "scripts/trivragen/demoquestions.txt"

#Set your questions data files here
#If u dont use one of them 
#use <return> as seperator or put everything on one line with a space!! eg: set questionfiles"file&desc file&desc file&desc"   
#The first line contains the default database set above
set questionfiles "$tgqdb&default
scripts/trivragen/demoquestions.txt&demo
scripts/trivragen/ccnaquestions.txt&CCNA"

#	What trigger should be used for changing the category?
set tgchoosecmd "!choose"

set tgcommandlist $tgchoosecmd$
#  Flags required to be able to use the reset command.
set tgflagschoose "-|-"

#  The character that seperates the question and the answer in the
#  question/answer file.
set tgqdbsep "|"
...
....
.....

This is the place where i want toset 4 Question files

set questionfiles "$tgqdb&default
scripts/trivragen/demoquestions.txt&demo
scripts/trivragen/ccnaquestions.txt&CCNA


Shell path where Files are loaded.

~/eggdrop/scripts/sports.txt
~/eggdrop/scripts/sex.txt
~/eggdrop/scripts/history.txt
~/eggdrop/scripts/ccnaquestions.txt

help me how to set the path thanks in advance.
:-?
Mash
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Sendmail ---> Hairy_Scary@hotmail.com and ask.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Locked