![]() ![]() |
| Snap |
Nov 24 2006, 01:28 AM
Post
#1
|
![]() The following post is supplementry information ![]() ![]() ![]() ![]() ![]() Group: Global Moderators Posts: 2,922 Joined: 29-January 06 From: Eugene Oregon Member No.: 31 |
SnapNJacks Trivia Guide Important Notes
Installation Instructions
2. Inside your bot type /getplugin st SnapNJack's Trivia is written by Snap, free of charge. Although Snap gives of his time freely, he does so for people like you. If you'd like to make a donation via PayPal Snap would be very gratful. Replace the "." below with your bot's trigger. When inside the bot use "/" or "//" as your trigger Using double slash // will make the bot respond out-loud in the channel. Use Commands: (Commands to use trivia) .trivia [on/off] Turns trivia on/off. If no arguements it will respond with the current Status and version. (tells you if trivia is on or off) .skip Skips question. .donate (username) (amount) Donates to (username) (amount) from your own pocket. When used in-bot you can donate whatever, including negitive numbers: /donate snap -100 [4:34:48 PM] Removed ($100.00) from snap Stat Commands: (Commands to see scores and stats) .score [Optional Username] Returns username's score based on the resscore format. .rank [Optional Username] Returns username's rank, or your own rank if username is ommited. Scores: .hscores/.high scores Returns the top 10 scores. .fanswers/.fastest answers Returns the top 10 fastest answers. .manswers/.most answered Returns the top 10 most answered. .lstreak/.longest streak Returns the top 10 longest streaks. Settings Commands: (Commands to change settings) .hints [number] Sets the amount of hints to [number]. .hintchar [character] Sets the hint char, default is a dash(-). .gemote [on/off] Emotes all messages, hints, questions - etc. .useserver [on/off] Use the server for questions. Or not. .useprofile [on/off] Use profile to display stats. (Based on Pformat) .setfile [optional filename] Picks the file from the questionfolder - or list the files in the folder (if filename isn't found - or isn't entered) - (".txt" will be added to the end of the file name if it's not there) Automaticly turns trivia on when a question file is selected. .blurtstats on/off Turns blurtstats on/off. .pformat (text) Edits the corresponding config entry. .aformat (text) Edits the corresponding config entry. .qformat (text) Edits the corresponding config entry. .hformat (text) Edits the corresponding config entry. Server Commands: (Commands related to the SnapNJacks Server) .reportbadq [ID] [EXPLANATION] Sends a report regarding that question. Example: This is a very good way to help keep correct and updated questions. The moderators will review your reports, and repair/delete the questions as needed. .category [+/-]category1,[+/-]category2, ... Edits the Category Setting. Sets the category of questions to be downloaded. (See link for details) .difficulty [range] Similar to Category - limits questions to a specific difficulty rating. 1-5 selects all questions with difficults 1 through 5 (all questions) 3-5 selects more difficult questions. In-Bot only commands: (These commands can't be used in the channel) /a [Answer] In-Bot only. Used to answer questions that the bot asks. (Allows you to play from the bot) /stdelete [user] Deletes a user from it's database (removing all score and other stats) /stuserlist Displays a list of users and their money. /debug on/off Turns on debug information /stconfig Opens the config file in your default application. You should open this with notepad, or some other plain-text editor. When selecting notepad, I recommend you click the box "Always open with this program" Misc: .stver Returns the current script version .qadd Adds a question to the server's review box. Use .qadd to see an explanation. End of command list (Formats allow you to customize what the bot says, using traditional StealthBot-Style variables.) resscore (Format for the .score command) Custom response for the .score command.
Custom profile format. Updates after each answer. Variables:
Custom response to a correct answer.
Custom format for a question to be asked.
Possible outcome: "Q# 2341 (Family Guy/Cartoons) Difficulty: 3, for $2.50!: Who's the fattest guy in Family Guy?" hformat Custom format for hints to be displayed.
would result in emoted hints. AncStreakBreak (Break anothers streak) Default: Sweet! %u, you broke %su Streak of %st!
Default: Congrats %u! You have beaten the record for longest streak![%st]%nlPreviously held by %su. With a streak of: [%sa]
Default: Nice %u! You beat your record for longest streak![%st]
Default: Congrats %u! You have beaten the record for fastest answer![%spm ms]%nlPreviously held by %fu. With a speed of: [%fa ms]
Default: Great job %u! you beat your fastest time![%spm ms]
Speed Vars Speed variables - for showing speed:
Category Setting QUOTE(".category" Command Examples) .category -Starcraft,-80s Result: Starcraft and 80s questions will no longer be asked. .category +Starcraft,+80s Result: Starcraft and 80s questions will be asked. .category Starcraft,Movies,Pop Result: ONLY Starcraft, Movies, and Pop questions will be asked. A full list of categories are listed at snapnjacks.com Here. Options: These options are all set as true/false. Note: Some of them may not exist in the config - You must add them to the config. (Such as Debug)
[Access] Section: The [access] section in the config allows you to set access for any of commands in SnapNJacks. Note: The access must be set for the real command name, not an alias created by the [Commands] section All commands will default to the Access setting at the top of the config file. 0 allows anyone to use it. Command=Access Examples: Trivia on=10 Score=0 [Commands] Section: The [commands] section in the config allows you to set unlimited AKA's for any command. AKA=Command Examples: turn trivia on=trivia on myscore=score top scores=hscores Click here for a list of commands Latest Version: This post has been edited by The-Black-Ninja: Oct 17 2008, 02:56 PM |
| Snap |
Dec 3 2006, 10:09 PM
Post
#2
|
![]() The following post is supplementry information ![]() ![]() ![]() ![]() ![]() Group: Global Moderators Posts: 2,922 Joined: 29-January 06 From: Eugene Oregon Member No.: 31 |
SnapNJacks Trivia FAQ How can I make it emote?/Changing the color of questions. How do I change hints from "Hint: -----" to "Hint: _____" or any char How do I get the script? My Trivia Bot Floods out! How can I input my own question files!? How to delete the user-database/How do I reset the scores. How do I edit the score of a user/How do I delete a user. If I want to use question files, where can I find some questions? I'm recieving an error message! Can I add a question to the server? I don't like the questions it's asking. How many questions does the server have? Can I use the old Trivia still? When will SnapNJacks be out of Beta? How can I make hints easier/more difficult? What's the config.ini? Why "SnapNJacks"?
Powerful customizations can be made using this. The entire script is built around the settings in it. There are comments explaining each one, - but if you have any more questions feel free to post it, and i'll add it to this FAQ QUOTE(ST_Config.ini) [main] ; How much access required for basic commands? Access=40 ; Download questions from SnapNJacks.com a constantly growing database of questions. ; If false, A question file will be used UseServer=True ; Amount of hints the bot will give Hints=5 ; Starting probability of a certain chararacter being uncovered in each hint HintStartOdds=.25 ; Decrease factor of probability in each successive hint HintDecOdds=.85 ; Amount of seconds between hints (must be above 5) Askrate=9 ; Delay after a question has been answered, to ask again. AnswerDelay=7 ; Consecutive unanswered questions before shutdown. 0 to disable. AutoDisableQ=10 ; Less than amount of people in channel for shutdown. 0 to disable. AutoDisableP=0 ; Greater than amount of people in channel for startup. 0 to disable. AutoEnableP=0 ; Categorical Selection String: ; Leave blank to not confine results Category=warcraft,-dota ; Difficulty limit, 0-5 downloads all questions. ; 3 downloads only questions with a difficulty level of 3 ; 4-6 downloads only questions with a difficulty of 4, 5 or 6 Difficulty=0-5 ; Question Format ; How a normal question is displayed. Note: You MUST have %q QFormat=%sk(%ct) $%vl: %q ; Hint Format ; How a hint is displayed. Note: You MUST have %h HFormat=Hint: %h ; How many unanswered questions before shutting down autodisableq=15 ; Profile doesn't work yet ; Display last question last answer. And Current question in the bots profile. (Also displays latest Hot-Shot) UseProfile=False ; ProfileTemplate - (Comming soon maybe?) ProfileTemp=current question: %question&& Current score leader: %Hotshot ; Uflist thingy here (Unsupported ATM) ; //Use /f m to display questions to those only in the channel. Note: This requires use of your friends list. Your friends may be deleted from the list. ; These must be in the bots folder (or sub directory). Questions= Scores=plugins\ST_users.txt QuestionFile=warcraft.txt debug=false JackSpot's SnapShots SnapNCracks SnappleJacks SnappinJumps SlapJacks SnapsJacks SnapNHacks While I'll admit some of those are a lot funnier. It's SnapNJacks > Snap And Jacks < Because Jack and I came up with the idea for this. This post has been edited by Snap: Apr 4 2009, 05:02 PM |
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 04:08 PM |