Does anyone know of a problem with trivia3.4.tcl ? I have successfully installed the eggdrop, but the script does not appear as a bot in the channel I selected. - the channel is not being used (I am not trying to take over another channel).
Does anyone have any ideas of how to resolve this problem.
I would be interested to know if I have the directories and files correct. I created the following files and folders, are they in the right place?:
botdir/scripts/trivia/ (folder)
botdir/scripts/trivia/tr_questions (file)
botdir/scripts/trivia/trivia_stats (folder)
I also included questions in tr_questions in what I believe to be the correct format.
I hope someone can help me solve the problem.
Code: Select all
#
# Startup syntax: !trivia [points to win] [-lightning] [-suddendeath]
#
#
# Configuration variables.
#
# What channel would you like the bot to run in?
set trivia_channel {#triviachannel}
# Make sure the following stuff exists... trivia_prize_file_name is created automagically
# with some default prizes.
# trivia_question_file_name is the name of the questions file.
set trivia_question_file_name {trivia/tr_questions}
# trivia_prize_file_name contains one prize description per line. It's created automagically with some default prizes if it
# isn't found.
set trivia_prize_file_name {trivia/tr_prizes}
# trivia_statistics_directory_name is a DIRECTORY, not a file, to store user stats in.
set trivia_stats_dir_name {trivia/trivia_stats}
# Some game play control variables.
set trivia_min_points_to_win 1 ;# minimum number of points allowed
set trivia_max_points_to_win 100 ;# maximum number of points allowed
set trivia_default_points_to_win 20 ;# default number of points needed to win
set trivia_hint_delay 3 ;# seconds to pause before showing a hint
set trivia_start_pause 15 ;# seconds to pause before starting game (after !trivia is typed)
set trivia_interval_timeout 40 ;# time players have to answer a question before timeout
set trivia_interval_pause 10 ;# time (seconds) from result to next question
set trivia_interval_lightning_pause 0 ;# time (seconds) from result to next question during lightning game
set trivia_max_teams 4 ;# max number of teams allowed (only teams with members are actually displayed)
set trivia_nobody_nick "nobody" ;# nick to show when nobody gets a question right
;# change "nobody" to $botnick to let the bot get credit :)
;# The following variables are used internally. Any changes you make here will be
;# overwritten at run-time. Please only change the configuration variables above.