egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cant get BogusTrivia to add question

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
jwhisenhunt
Voice


Joined: 05 Apr 2020
Posts: 2

PostPosted: Tue Apr 07, 2020 3:08 am    Post subject: Cant get BogusTrivia to add question Reply with quote

I have tried to use the /msg bot .add and it wont do anything. All of the other commands work just cant get it to add question to DB. Sad Can someone walk me though this problem. Question
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 792
Location: Tennessee, USA

PostPosted: Tue Apr 07, 2020 8:59 am    Post subject: Reply with quote

There is no secrets to using the BogusTrivia .add command.

Please come by my #pc-mirc-help channel on undernet and we will talk about it some:)
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Back to top
View user's profile Send private message Visit poster's website
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Tue Apr 07, 2020 9:08 am    Post subject: Re: Cant get BogusTrivia to add question Reply with quote

jwhisenhunt wrote:
I have tried to use the /msg bot .add and it wont do anything. All of the other commands work just cant get it to add question to DB. ...


Not sure that I understand your question, yet.

Do you mean that you are trying to add the text of a specific question / answer to the game db?
If so, that's not what the .add command does.

That command tells the script to find a file, and add it's contents to the game db.

If you have some questions and answers that you want to add to the game, use a plain text editor (like nano) to create a text file. Edit them into it, in a proper format. Then you can use the .add command. Give it the filename that you just created.


What to name the file?
How to format the file?
Where to put the file?

There are four .txt files that came with BogusTrivia :
Commands.txt
'Important Notes.txt'
Installation.txt
Readme.txt

The .add command is mentioned in them several times, and answers those questions.
Take your time, and read them. It's not a quick skim. Smile

Note ! : When you use the .add command, not only does it add the contents of your of your Q&A file to the game db, it eats the file ! Gone... poof! It says so, in those .txt documents. So, make a backup copy of them - especially while you are getting used to working with it all.

I hope this helps.
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Tue Apr 07, 2020 9:11 am    Post subject: Re: Cant get BogusTrivia to add question Reply with quote

I was writing, while Spike^^ was posting.

What he said is even better. Wink

I think it would still be a good idea to spend some time with all four of those .txt files first though. It really helps.
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 393

PostPosted: Fri May 08, 2020 1:15 pm    Post subject: Reply with quote

what i do for bogus trivia is just simply edit the txt files like add a question to the file Simple Cool

all these commands are cool but at the same time hard to beat to just edit the txt file manually Wink
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber