Deep Bot - Twitch Streamer Assistant

Deep Bot => Guides, Tutorials & Demo Videos => Topic started by: Totodilegnaw on March 22, 2016, 12:23:07 PM

Title: Custom Command " Russian roulette "
Post by: Totodilegnaw 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?
Title: Re: Custom Command " Russian roulette "
Post by: TheNumbLock 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]
Title: Re: Custom Command " Russian roulette "
Post by: Totodilegnaw on March 24, 2016, 10:51:58 AM
Thanks it works perfectly now! :D