Code: Select all
tag when posting logs, code
Assuming you havent changed anything else in the script and have copied all the question txt files into the scripts directory then it can only be the paths for the files are wrong or possibly the file permissions are wrong (but it only needs read which should be a minimum default on servers anyway).hollow wrote:hi i own an irc server running trivia 2000
i have a problem with it
only 3 of the questions categorys work
the rest wont i have checked and double checked and cant find anything wrong
i also have a request
is it possible that you could modify the way that it gives hints (its always gives the first 3 letters )
couldnt this been modified so that it can pick random letters ???
anyways any help on the catergories would be great
thanks
Code: Select all
#The data files need to be held on your shell account.
#Set your questions data files here
set geography /home/username/botdir/scripts/geography.txt
set entertain /home/username/botdir/scripts/entertainment.txt
set history /home/username/botdir/scripts/history.txt
set art_lit /home/username/botdir/scripts/art_lit.txt
set sci_nat /home/username/botdir/scripts/science_nature.txt
set spo_lei /home/username/botdir/scripts/sport_leisure.txt
set queen /home/username/botdir/scripts/queen.txt
Glad I could help.Ian-Highlander wrote:"score" shouldnt be a folder its a file and the bot should create it on its own, if it cant then your home directory doesnt have the correct permissions set. I'd suggest you change it to /home/leo/scripts/score and delete any folders you have created called score and restart the bot and see if it works. It should create a file called simply "score" in your bots scripts directory as soon as someone gets a question right.
Code: Select all
#The data files need to be held on your shell account.
#Set your questions data files here
set geography /home/username/botdir/scripts/geography.txt
set entertain /home/username/botdir/scripts/entertainment.txt
set history /home/username/botdir/scripts/history.txt
set art_lit /home/username/botdir/scripts/art_lit.txt
set sci_nat /home/username/botdir/scripts/science_nature.txt
set spo_lei /home/username/botdir/scripts/sport_leisure.txt
set queen /home/username/botdir/scripts/queen.txt
#Set your scores data file here
set scores /home/username/botdir/scripts/score
Code: Select all
source scripts/trivia_2000v2.1.tcl
Code: Select all
#Set the name of the channel the script is running in here
set gamechan "#trivia"