Author Topic: Custom Command " Russian roulette "  (Read 4456 times)

0 Members and 1 Guest are viewing this topic.

Totodilegnaw

  • Youngling
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Totodilegnaw
Custom Command " Russian roulette "
« on: March 22, 2016, 12:23:07 PM »
Can I get this command to work in theory addcmd !WaitForIt @if@[<||@rand@[0,100]||50|| @user@, will you survive the silence? @exec@[5,!die] || @user@, will you survive the silence? @exec@[5,!live] ]
Live is flavor text and die is a timeout anyway to make it work to have a 50/50 to live or die?

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Custom Command " Russian roulette "
« Reply #1 on: March 22, 2016, 12:43:17 PM »
Can I get this command to work in theory addcmd !WaitForIt @if@[<||@rand@[0,100]||50|| @user@, will you survive the silence? @exec@[5,!die] || @user@, will you survive the silence? @exec@[5,!live] ]
Live is flavor text and die is a timeout anyway to make it work to have a 50/50 to live or die?

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

Okay fixed the @if@ command part. For the !die command, you put /timeout Name NumberOfSeconds Example: /timeout @user@ 5

I don't know if @exec@ would work in the @if@ command, if not just put command only in the true/false statement: @if@[<||@rand@[0|100]||50||!die||!live]
Old Name: RepentGamingTV
Twitch: Here

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

Totodilegnaw

  • Youngling
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Totodilegnaw
Re: Custom Command " Russian roulette "
« Reply #2 on: March 24, 2016, 10:51:58 AM »
Thanks it works perfectly now! :D