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.

trivia3.4.tcl

Old posts that have not been replied to for several years.
Locked
C
CrazyHorse

trivia3.4.tcl

Post by CrazyHorse »

Hello,

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.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Have you actualy added the bot to the channel?

WHile the script has a setting to pick which channel to run in, this is usualy just a limit channel.

IE, your bot is in 4 channels, but you only want 1 of the 4 to play trivia in.

If you have 4, but want a 5th to play trivia in, then you need to add the channel to the bot too.

see ".help +chan"
Locked