Author Topic: Russian Roultte Mini Game  (Read 3456 times)

0 Members and 1 Guest are viewing this topic.

BurtleGurtle

  • Youngling
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
  • Twitch Name: burtlegurtle
Russian Roultte Mini Game
« on: January 08, 2017, 07:47:50 PM »
Hi Folks!
First time poster here

Does anyone have any idea how to set up a Russian roulette style mini game for my DeepBot?

Any assistance would be greatly appreciated

Many Thanks
Burtlegurtle

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Russian Roultte Mini Game
« Reply #1 on: January 09, 2017, 12:44:26 AM »
You mean the gun one and it times the user out if they get shot?
Old Name: RepentGamingTV
Twitch: Here

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

BurtleGurtle

  • Youngling
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
  • Twitch Name: burtlegurtle
Re: Russian Roultte Mini Game
« Reply #2 on: January 09, 2017, 01:05:32 AM »
Yeah basically that one but it doesn't time the user out?

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Russian Roultte Mini Game
« Reply #3 on: January 09, 2017, 01:16:33 AM »
Here is a sample one I did for someone a while back: (Just know this one does time someone out, but I figured you can customize it.)

Code: [Select]
[{
  "command": "!ro",
  "group": "Roulette",
  "status": true,
  "runAsBot": false,
  "runAsUserElevated": true,
  "startsWithEx": false,
  "message": "@if@[<||@rand@[0|100]||50||@user@, will you survive the silence? @exec@[5,!die]||@user@, will you survive the silence? @exec@[5,!live]]",
  "description": "",
  "lastUsed": "2016-12-26T20:34:29.0341845-07:00",
  "cooldown": 0,
  "accessLevel": 1,
  "soundFile": "",
  "costEnabled": false,
  "minPoints": 0,
  "minHours": 0,
  "costAll": 0,
  "costVIPViewer": 0,
  "costVIPB": 0,
  "costVIPS": 0,
  "costVIPG": 0,
  "costVIPMod": 0,
  "costVIPStreamer": 0,
  "OnScreenWidgetEnabled": false,
  "OnScreenWidgetName": "",
  "OnScreenWidgetTitle": "",
  "OnScreenWidgetMessage": "",
  "OnScreenWidgetImageLink": "",
  "OnScreenWidgetAnimMode": 0,
  "OBSRemoteEnabled": false,
  "OBSRemoteAction": 0,
  "OBSRemoteSceneName": "",
  "CommandChaningCmdName": "",
  "CommandChaningRunAfter": 0,
  "CommandChaningRunAsAdmin": false,
  "VIPModEnabled": false,
  "VIPModIfViewer": 0,
  "VIPModIfVIPB": 0,
  "VIPModIfVIPS": 0,
  "VIPModIfVIPG": 0,
  "VIPModAddDays": 30,
  "countdown": "2016-08-06T22:08:25.815673-06:00",
  "counter": 3,
  "APITarget": false,
  "hideFromCmdList": false,
  "accessDeniedMsg": "",
  "noPointsMsg": "",
  "disableChanAccess": false,
  "disableWhisperAccess": false,
  "disableDiscordAccess": false,
  "isSoundVolumeSet": true,
  "soundVolume": 100
},
{
  "command": "!die",
  "group": "Roulette",
  "status": true,
  "runAsBot": false,
  "runAsUserElevated": true,
  "startsWithEx": false,
  "message": "/timeout @user@ 60",
  "description": "",
  "lastUsed": "2016-12-26T20:34:34.0363093-07:00",
  "cooldown": 0,
  "accessLevel": 8,
  "soundFile": "",
  "costEnabled": false,
  "minPoints": 0,
  "minHours": 0,
  "costAll": 0,
  "costVIPViewer": 0,
  "costVIPB": 0,
  "costVIPS": 0,
  "costVIPG": 0,
  "costVIPMod": 0,
  "costVIPStreamer": 0,
  "OnScreenWidgetEnabled": false,
  "OnScreenWidgetName": "",
  "OnScreenWidgetTitle": "",
  "OnScreenWidgetMessage": "",
  "OnScreenWidgetImageLink": "",
  "OnScreenWidgetAnimMode": 0,
  "OBSRemoteEnabled": false,
  "OBSRemoteAction": 0,
  "OBSRemoteSceneName": "",
  "CommandChaningCmdName": "!die2",
  "CommandChaningRunAfter": 0,
  "CommandChaningRunAsAdmin": false,
  "VIPModEnabled": false,
  "VIPModIfViewer": 0,
  "VIPModIfVIPB": 0,
  "VIPModIfVIPS": 0,
  "VIPModIfVIPG": 0,
  "VIPModAddDays": 30,
  "countdown": "2016-08-06T22:09:15.4055195-06:00",
  "counter": 1,
  "APITarget": false,
  "hideFromCmdList": true,
  "accessDeniedMsg": "",
  "noPointsMsg": "",
  "disableChanAccess": false,
  "disableWhisperAccess": false,
  "disableDiscordAccess": false,
  "isSoundVolumeSet": true,
  "soundVolume": 100
},
{
  "command": "!die2",
  "group": "Roulette",
  "status": true,
  "runAsBot": false,
  "runAsUserElevated": true,
  "startsWithEx": false,
  "message": "@user@'s head exploded!",
  "description": "",
  "lastUsed": "2016-12-26T20:34:34.0368048-07:00",
  "cooldown": 0,
  "accessLevel": 8,
  "soundFile": "",
  "costEnabled": false,
  "minPoints": 0,
  "minHours": 0,
  "costAll": 0,
  "costVIPViewer": 0,
  "costVIPB": 0,
  "costVIPS": 0,
  "costVIPG": 0,
  "costVIPMod": 0,
  "costVIPStreamer": 0,
  "OnScreenWidgetEnabled": false,
  "OnScreenWidgetName": "",
  "OnScreenWidgetTitle": "",
  "OnScreenWidgetMessage": "",
  "OnScreenWidgetImageLink": "",
  "OnScreenWidgetAnimMode": 0,
  "OBSRemoteEnabled": false,
  "OBSRemoteAction": 0,
  "OBSRemoteSceneName": "",
  "CommandChaningCmdName": "",
  "CommandChaningRunAfter": 0,
  "CommandChaningRunAsAdmin": false,
  "VIPModEnabled": false,
  "VIPModIfViewer": 0,
  "VIPModIfVIPB": 0,
  "VIPModIfVIPS": 0,
  "VIPModIfVIPG": 0,
  "VIPModAddDays": 30,
  "countdown": "2016-08-06T22:10:32.1788666-06:00",
  "counter": 1,
  "APITarget": false,
  "hideFromCmdList": true,
  "accessDeniedMsg": "",
  "noPointsMsg": "",
  "disableChanAccess": false,
  "disableWhisperAccess": false,
  "disableDiscordAccess": false,
  "isSoundVolumeSet": true,
  "soundVolume": 100
},
{
  "command": "!live",
  "group": "Roulette",
  "status": true,
  "runAsBot": false,
  "runAsUserElevated": true,
  "startsWithEx": false,
  "message": "Congrats @user@, you have survived! @exec@[1,!live2]",
  "description": "",
  "lastUsed": "2016-12-26T20:34:19.5192784-07:00",
  "cooldown": 0,
  "accessLevel": 8,
  "soundFile": "",
  "costEnabled": false,
  "minPoints": 0,
  "minHours": 0,
  "costAll": 0,
  "costVIPViewer": 0,
  "costVIPB": 0,
  "costVIPS": 0,
  "costVIPG": 0,
  "costVIPMod": 0,
  "costVIPStreamer": 0,
  "OnScreenWidgetEnabled": false,
  "OnScreenWidgetName": "",
  "OnScreenWidgetTitle": "",
  "OnScreenWidgetMessage": "",
  "OnScreenWidgetImageLink": "",
  "OnScreenWidgetAnimMode": 0,
  "OBSRemoteEnabled": false,
  "OBSRemoteAction": 0,
  "OBSRemoteSceneName": "",
  "CommandChaningCmdName": "",
  "CommandChaningRunAfter": 0,
  "CommandChaningRunAsAdmin": false,
  "VIPModEnabled": false,
  "VIPModIfViewer": 0,
  "VIPModIfVIPB": 0,
  "VIPModIfVIPS": 0,
  "VIPModIfVIPG": 0,
  "VIPModAddDays": 30,
  "countdown": "2016-08-06T22:11:08.5040745-06:00",
  "counter": 2,
  "APITarget": false,
  "hideFromCmdList": true,
  "accessDeniedMsg": "",
  "noPointsMsg": "",
  "disableChanAccess": false,
  "disableWhisperAccess": false,
  "disableDiscordAccess": false,
  "isSoundVolumeSet": true,
  "soundVolume": 100
},
{
  "command": "!live2",
  "group": "Roulette",
  "status": true,
  "runAsBot": false,
  "runAsUserElevated": true,
  "startsWithEx": false,
  "message": "!add 100 @user@",
  "description": "",
  "lastUsed": "2016-12-26T20:34:20.5356927-07:00",
  "cooldown": 0,
  "accessLevel": 8,
  "soundFile": "",
  "costEnabled": false,
  "minPoints": 0,
  "minHours": 0,
  "costAll": 0,
  "costVIPViewer": 0,
  "costVIPB": 0,
  "costVIPS": 0,
  "costVIPG": 0,
  "costVIPMod": 0,
  "costVIPStreamer": 0,
  "OnScreenWidgetEnabled": false,
  "OnScreenWidgetName": "",
  "OnScreenWidgetTitle": "",
  "OnScreenWidgetMessage": "",
  "OnScreenWidgetImageLink": "",
  "OnScreenWidgetAnimMode": 0,
  "OBSRemoteEnabled": false,
  "OBSRemoteAction": 0,
  "OBSRemoteSceneName": "",
  "CommandChaningCmdName": "",
  "CommandChaningRunAfter": 0,
  "CommandChaningRunAsAdmin": false,
  "VIPModEnabled": false,
  "VIPModIfViewer": 0,
  "VIPModIfVIPB": 0,
  "VIPModIfVIPS": 0,
  "VIPModIfVIPG": 0,
  "VIPModAddDays": 30,
  "countdown": "2016-08-06T22:11:59.8113057-06:00",
  "counter": 2,
  "APITarget": false,
  "hideFromCmdList": true,
  "accessDeniedMsg": "",
  "noPointsMsg": "",
  "disableChanAccess": false,
  "disableWhisperAccess": false,
  "disableDiscordAccess": false,
  "isSoundVolumeSet": true,
  "soundVolume": 100
}]

Guide on Importing commands: http://wiki.deepbot.tv/import_and_export_commands
Old Name: RepentGamingTV
Twitch: Here

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

BurtleGurtle

  • Youngling
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
  • Twitch Name: burtlegurtle
Re: Russian Roultte Mini Game
« Reply #4 on: January 09, 2017, 02:57:36 AM »
Wow! Thanks buddy! I'll give this a try and get back to you!
Thanks sgain

BurtleGurtle

  • Youngling
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
  • Twitch Name: burtlegurtle
Re: Russian Roultte Mini Game
« Reply #5 on: January 11, 2017, 01:58:17 AM »
Hi again
It seems to work, but the Die command doesnt?
any ideas?

BurtleGurtle

  • Youngling
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
  • Twitch Name: burtlegurtle
Re: Russian Roultte Mini Game
« Reply #6 on: January 11, 2017, 02:20:26 AM »
ive attempted to alter the text alittle and change the timeout but it kills the whole command if i do that?

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Russian Roultte Mini Game
« Reply #7 on: January 11, 2017, 02:28:33 AM »
Try this version: http://pastebin.com/raw/yJnh5hSj

If you just want to change it manually, then I made two changes in !ro and !die:

!ro

Code: [Select]
@if@[<||@rand@[0|100]||50||@user@, will you survive the silence? @exec@[5,!die @user@]||@user@, will you survive the silence? @exec@[5,!live]]




!die
I set it to "Run As: Bot"
Code: [Select]
/timeout @target@ 60

Old Name: RepentGamingTV
Twitch: Here

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

BurtleGurtle

  • Youngling
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
  • Twitch Name: burtlegurtle
Re: Russian Roultte Mini Game
« Reply #8 on: January 13, 2017, 09:41:08 PM »
this looks to be working for the most part as I can now change the text for the die commands etc.

How can I change the command !ro to !routlette without it killing the command?

Dante557

  • Advisor
  • Councilor
  • **
  • Posts: 555
  • Karma: +26/-0
  • Sometimes Helpful, Sometimes Not :D
    • View Profile
    • My Twitch Page
  • Twitch Name: Dante557
Re: Russian Roultte Mini Game
« Reply #9 on: January 15, 2017, 03:48:51 AM »
this looks to be working for the most part as I can now change the text for the die commands etc.

How can I change the command !ro to !routlette without it killing the command?

!roulette is the default command for the in-built roulette minigame. You will need to change the activation command of this minigame for you to be able to use !roulette as your command. Don't worry, it's super simple.

Stream Interaction -> Minigames -> Roulette and click "Custom Settings"

From there, if you aren't going to be using this minigame, just change the activation command to something completely random.
If you need to get through to me you can try to contact me on Twitter @ http://www.twitter.com/dante556

BurtleGurtle

  • Youngling
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
  • Twitch Name: burtlegurtle
Re: Russian Roultte Mini Game
« Reply #10 on: January 17, 2017, 06:48:34 PM »
this looks to be working for the most part as I can now change the text for the die commands etc.

How can I change the command !ro to !routlette without it killing the command?

!roulette is the default command for the in-built roulette minigame. You will need to change the activation command of this minigame for you to be able to use !roulette as your command. Don't worry, it's super simple.

Stream Interaction -> Minigames -> Roulette and click "Custom Settings"

From there, if you aren't going to be using this minigame, just change the activation command to something completely random.


Ahhh makes total sense :) thanks again folks!