Author Topic: Custom commands for trivia / Preset minigames  (Read 1584 times)

0 Members and 1 Guest are viewing this topic.

bamboochew

  • Youngling
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Bamboochew
Custom commands for trivia / Preset minigames
« on: May 13, 2017, 01:03:52 AM »
Hi,

I recently got DeepBot and I am very pleased with all the features you can use. I do however have a question regarding some sort of Trivia or similar minigame.

I know that DeepBot has a minigame which is "Guess the magic number" which I guess you can set to be sort of a trivia, but I do not know if you can have more than 1 question / magic number saved at a time which would be slightly inconvenient.
Can one perhaps make a folder in the directory which is called "Trivia" which contains somewhere between 1-50 trivia questions (written by hand of course) which would reward points if answered completely and pulled randomly from the folder?


If the question itself is unclear, feel free to ask for more specific details.

Thanks for the help,

Bamboochew

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Custom commands for trivia / Preset minigames
« Reply #1 on: May 13, 2017, 01:29:01 AM »
You can make different profiles if you look at the bottom of the Guess the number settings. I would save each question/profile/preset as a number.

Then use: !startguessinggame [preset/profile name]   A command for mods to start the guessing game. (e.g. !startguessinggame [preset name])

Then you can make a command as an alias. Example: !sgg Command Message: !startguessinggame @rand@[1|100] Set to: Run As Bot and probably limit access to mod+ only. Then you can chain itself or use Timed Messages to have it start the guessing game automatically.
Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport

bamboochew

  • Youngling
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Bamboochew
Re: Custom commands for trivia / Preset minigames
« Reply #2 on: May 13, 2017, 02:51:45 AM »
Alright I'll look into to it. Very exciting stuff indeed.


Bamboochew

bamboochew

  • Youngling
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Bamboochew
Re: Custom commands for trivia / Preset minigames
« Reply #3 on: May 13, 2017, 07:13:03 AM »
Alright so "!startguessinggame @rand@[1|4]" works just fine for a normal command, I have not tried to chain it yet, but I did look into using timed messages, however I seem unable to make that random, and using the "!startguessinggame @rand@[1|4]" only yields "Preset @rand@[1|4]" not found.

Currently have 4 presets in the guessing game excluding the "default"

Wondering if its possible to make the timed message random.


Thanks,


Bamboochew

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Custom commands for trivia / Preset minigames
« Reply #4 on: May 13, 2017, 09:10:37 AM »
Like I said, you have to make a command with !startguessinggame @rand@[1|4] in the command message. Then put the command in the timed message.
Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport

bamboochew

  • Youngling
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Bamboochew
Re: Custom commands for trivia / Preset minigames
« Reply #5 on: May 13, 2017, 07:11:44 PM »
Yeah I fixed it, I had the timed message set to the same as the channel commands instead of just "!sgg"

Working as intended now, thanks a lot.

Bamboochew