Bots Home
|
Create an App
trivia
Author:
main_account
Description
Source Code
Launch Bot
Current Users
Created by:
Main_Account
var trivia_questions = { food: { "Foie gras is a french delicacy made from the liver of what animal?": "Duck or Goose", "The Carolina Reaper, Dorset Naga, and Trinidad Scorpion are varieties of what kind of edible plant?": "Chili pepper", "In cooking, margarine is used as a substitute for what ingredient?": "Butter", "What do the letters C and H stand for in C & H Sugar?": "California and Hawaii", "When a drink is served “on the rocks”, it is served with what?": "Ice cubes", "Jamón ibérico is a type of cured ham that is traditionally produced by which two neighboring countries?": "Spain and Portugal", "If a liquor is 100 proof how much alcohol does it contain by percentage?": "50 Percent", "What ingredient is added to white sugar to make brown sugar?": "Molasses", "A Moscow Mule is a type of cocktail popularly served in what?": "Copper Mug", "Founded in 1921, this company was credited with being the first “fast food” chain?": "White Castle", "Sukiyaki is a popular hot pot dish from what country?": "Japan", "Lox, often served on a bagel, is a fillet of brined what?": "Salmon", "The Cajun holy trinity of cooking consists of what three vegetables?": "Onions, bell peppers and celery", "Sriracha is type of hot sauce named after a city located in what country?": "Thailand", "Malbec, Sangiovese, and Syrah are all a type of what?": "Wine", "What common kitchen item is made up of sodium and chlorine atoms?": "Salt", "Champagne is a sparkling wine made from grapes grown in the Champagne region of which country?": "France", "In which country did cheddar cheese originate?": "England", "Arby’s is a fast-food restaurant chain specializing in sandwiches made with what main ingredient?": "Roast beef", "What is the main ingredient in thousand island dressing?": "Mayonnaise", "What are the three main ingredients in the campfire treat known as a “s’more”?": "Marshmallow, chocolate and graham cracker" }, movie: { "What was the name of cowboy star Roy Rogers’ palomino horse?": "Trigger ", "Who plays Jack Ryan in the 2002 American spy thriller “The Sum of all Fears”?": "Ben Affleck", "What is the name of the sequel to the movie Wreck-It Ralph that was released in 2018?": "Ralph Breaks the Internet", "Which actor played the fictional character Dr. Emmett Brown in the Back to the Future trilogy?": "Christopher Lloyd", "The song “Eye of the Tiger” by the band Survivor was the theme song for what movie released in 1982?": "Rocky III", "Which actress played the character Annie Reed in the 1993 American romantic comedy Sleepless in Seattle?": "Meg Ryan", "With twelve Oscar nominations and three wins, who is the most nominated male actor in Academy Awards history?": "Jack Nicholson", "What is the secret identity of the fictional superhero Batman?": "Bruce Wayne", "Which park is the most filmed location in the world?": "Central Park", "Which 1993 American science-fiction adventure film had a plot that involved creating a theme park from cloned dinosaurs?": "Jurassic Park", "Who won more Academy Awards in his lifetime than any other person?": "Walt Disney", "What was the name of Jack Nicholson’s character in the 1975 American comedy-drama film “One Flew Over the Cuckoo’s Nest”?": "Randle McMurphy", "In the fact based movie “21” released in 2008, students from MIT made millions by counting cards playing which card game?": "Blackjack", "Who was the tallest actor ever to win an academy award?": "Tim Robins", "Which actor played a FedEX employee that became marooned on an island in the 2000 drama film Cast Away?": "Tom Hanks", "“The road to greatness can take you to the edge”, is the tagline of which 2014 American drama film?": "Whiplash", "In the 1997 American science fiction comedy Men in Black, which actor played Agent K?": "Tommy Lee Jones", "What is the favorite food of the Teenage Mutant Ninja Turtles?": "Pizza", "Jason Voorhees is the main antagonist in what movie franchise?": "Friday the 13th", "Jim Carrey and Renee Zellweger starred in what comedy film, released in 2000, about a cop with dissociative identity disorder?": "Me, Myself & Irene", "In the movie The Terminator, what is the name of the company that created Skynet?": "Cyberdyne Systems", "Emma Watson is known for playing which character in Harry Potter?": "Hermione Granger" }, space: { "Able to be seen from outer space, what is Earth’s largest living structure?": "The Great Barrier Reef", "What was the name of the first manned mission to land on the moon?": "Apollo 11", "What is the name for meteoroids that survive entry through the atmosphere and reach Earth’s surface?": "Meteorites", "What is the closest star to our own sun?": "Proxima Centauri", "Which U.S. President made the first telephone call to the moon?": "Richard Nixon", "Betelgeuse and Rigel are the two giant stars in which constellation?": "Orion", "In our solar system, which planet has the shortest day?": "Jupiter", "Hale-Bopp is classified as which type of small Solar System body?": "Comet", "What is the name for the disc-shaped region of icy bodies that extends from Neptune to about 55 astronomical units from the Sun?": "The Kuiper Belt", "In our solar system which two planets are known as ice giants?": "Uranus and Neptune", "Mare Tranquillitatis is the Latin name for what feature found on Earths moon?": "Sea of Tranquility", "Who were the first two astronauts that landed on the moon in 1969?": "Neil Armstrong and Buzz Aldrin", "The Great Red Spot is a gigantic storm located on which planet in our solar system?": "Jupiter", "What is the farthest human-made object from planet Earth?": "Voyager 1", "SpaceX was founded by what South African-born inventor?": "Elon Musk", "Which planet in our solar system has an axis that is tilted by 98 degrees?": "Uranus", "Titan, Enceladus, Mimas & Iapetus are just some of the moons orbiting which planet?": "Saturn", "Ceres is a dwarf planet that lies between the orbits of which two planets in our solar system?": "Mars & Jupiter", "The first human-made object to land on the moon was launched by what country?": "The Soviet Union", "What is the unit of length that is approximately 3.26 light-years?": "Parsec", "What was the name of the first U.S. space station?": "Skylab" }, computers: { "On the popular social website Reddit, what does AMA stand for?": "Ask Me Anything", "What do the letters CPU stand for when referring to the “brains” of a computer?": "Central Processing Unit", "On which popular website do users send tweets?": "Twitter", "SNES is the acronym for what popular gaming console released in the early 1990s?": "Super Nintendo Entertainment System", "Mark Zuckerberg was one of the founders of which social networking site?": "Facebook", "What was the first console video game that allowed the game to be saved?": "The Legend of Zelda", "Regarding data storage, what does the acronym SSD stand for?": "Solid State Drive", "The Connecticut Leather Company later became what toy company that was popular in the 1980s for its Cabbage Patch Kids and video game consoles?": "Coleco", "Created in 2009, what was the first decentralized cryptocurrency?": "Bitcoin", "What does the acronym USB stand for when referring to a computer port?": "Universal Serial Bus", "What do you call the small image icons used to express emotions or ideas in digital communication?": "Emoji", "When referring to a computer monitor, what does the acronym LCD stand for?": "Liquid Crystal Display", "When talking about computer memory, what does the acronym ROM stand for?": "Read-only memory", "What do the letters in the acronym CD-ROM stand for?": "Compact Disk Read Only Memory", "In 1975 an engineer created the first electronic camera while working for what company?": "Kodak", "Nintendo is a consumer electronics and video game company founded in what country?": "Japan", "In a photo editing program, what do the letters RGB stand for?": "Red, Green & Blue", "HTML and CSS are computer languages used to create what?": "Websites", "The first person shooter video game Doom was first released in what year?": "1993", "What does the acronym “lol” stand for when used in phone texts and on the internet?": "Laugh out loud", "What year was Facebook founded?": "2004" } } var playing = false; var topic = ""; var score_board = {}; var answer = ""; var question = ""; var mode = ""; cb.onMessage((message) => { var m = message.m.toLowerCase().trim(); if (trivia_questions[m]) { topic = m; cb.sendNotice("Do you want easy mode or hard mode?","","#fff", "#C71393") } if(m == "easy" || m == "hard"){ play(topic,m) mode = m } if (m == "-trivia start") { playing = true; var topics = ""; for (var t in trivia_questions) { topics += `/${t}/ ` } cb.sendNotice("What topic do you want? " + topics, "", "#fff", "#C71393") } if (m == answer.toLowerCase()) { delete trivia_questions[topic][question]; cb.sendNotice(`${message.user} is correct! Next question? Y|N`, "", "#fff", "#C71393"); if (score_board[message.user]) { score_board[message.user] += 1; } else { score_board[message.user] = 1; } var scores = ""; for (var s in score_board) { scores += `${s}:${score_board[s]} | ` } cb.sendNotice(scores, "", "#fff", "#C71393") answer = "" } if (message.m == "Y" && answer == "") { play(topic,mode); } if(m == "-hint"){ var half = (answer.length - 1) / 2; var hint = answer.slice(0,half); cb.sendNotice(`Hint: ${hint}`); } }) function randomNum(min, max) { return Math.floor(Math.random() * (max - min)) + min; } function shuffle(a) { var j, x, i; for (i = a.length - 1; i > 0; i--) { j = Math.floor(Math.random() * (i + 1)); x = a[i]; a[i] = a[j]; a[j] = x; } return a; } function play(topic,mode) { var keys = Object.keys(trivia_questions[topic]); question = keys[randomNum(0, keys.length - 1)]; cb.sendNotice(question, "", "#fff", "#C71393"); if(mode == "easy"){ var options = []; for(var i = 0;i <3;i++){ options.push(`(${trivia_questions[topic][keys[randomNum(0, keys.length - 1)]]})`); } options.push(`(${trivia_questions[topic][question]})`); shuffle(options); cb.sendNotice(`Options: ${options}`,"", "#fff", "#C71393"); } answer = trivia_questions[topic][question]; }
© Copyright Chaturbate 2011- 2024. All Rights Reserved.