Deep Bot - Twitch Streamer Assistant

Deep Bot => Guides, Tutorials & Demo Videos => Topic started by: GingaNinja on February 25, 2018, 03:22:49 AM

Title: Give Points if RandomUser = Streamer
Post by: GingaNinja on February 25, 2018, 03:22:49 AM
I have a command as follows. I would like it if the randomuser is the streamer, then give them 100 currency. Is this possible? If so, can I get some assistance?

@user@ slowly walks in the darkness, pulls out a ninja star and throws it at @randomuser@ !! PogChamp
Title: Re: Give Points if RandomUser = Streamer
Post by: GingaNinja on March 20, 2018, 09:11:38 AM
Should this post have been put in another section of the forum? Is there a good way to move  the OP?
Title: Re: Give Points if RandomUser = Streamer
Post by: TheNumbLock on March 20, 2018, 07:32:26 PM
@if@[@randomuser@||ginganinja||@user@ slowly walks in the darkness, pulls out a ninja star and throws it at @randomuser@ !! PogChamp @exec@[!add 100 @user@]||@user@ slowly walks in the darkness, pulls out a ninja star and throws it at @randomuser@ !! PogChamp]

Simple version.
Title: Re: Give Points if RandomUser = Streamer
Post by: GingaNinja on March 21, 2018, 09:54:43 AM
Thanks for the response TheNumbLock! Unfortunately, I am getting the response "Exec Format Error". The full response is as follows when having another user test to ensure it wasn't an issue with testing from my own account for some reason:

oneshotkilla2014 slowly walks in the darkness, pulls out a ninja star and throws it at ginganinja !! PogChamp Exec Format Error

I am trying to look into it and it looks like the exec variable needs a time as another variable in the statement or it has to be used to chain to another command. Perhaps chaining to another command is the key?
Title: Re: Give Points if RandomUser = Streamer
Post by: TheNumbLock on March 21, 2018, 07:46:53 PM
Make sure you set the command to run as user (elevated access)
Title: Re: Give Points if RandomUser = Streamer
Post by: GingaNinja on March 22, 2018, 07:36:01 AM
Thanks for trying to help TheNumbLock! Unfortunately, it still isn't working. It is giving the same error. I even tried with bot permissions.
Title: Re: Give Points if RandomUser = Streamer
Post by: GingaNinja on March 28, 2018, 10:46:38 PM
Is there another variable that is needed in the exec syntax? Do we need another command to be issued from the exec command? I feel like this is close to working.
Title: Re: Give Points if RandomUser = Streamer
Post by: GingaNinja on April 03, 2018, 07:03:07 AM
Any additional help that anyone could offer would be appreciated.
Title: Re: Give Points if RandomUser = Streamer
Post by: GingaNinja on April 20, 2018, 07:44:50 AM
If this isn't possible due to Deepbot limitations, please let me know. I am okay with that, just hoping for a solution since I support Deepbot monthly.
Title: Re: Give Points if RandomUser = Streamer
Post by: TheNumbLock on April 20, 2018, 07:51:27 PM
Just create another command that does !add command and just put the @exec@[!command] where we stated. Then it will work.
Title: Re: Give Points if RandomUser = Streamer
Post by: ThatGirlSlays on April 30, 2018, 01:45:50 PM
It works for me exactly as typed. Sorry I cannot be of any help. Did you alter the command at all? Perhaps copy exactly what you entered as your command?
Title: Re: Give Points if RandomUser = Streamer
Post by: ThatGirlSlays on April 30, 2018, 01:51:49 PM
Try this

@if@[@randomuser@||thatgirlslays||ThatGirlSlays was selected @exec@[0,!add 100 @user@]||ThatGirlSlays was not selected]
Title: Re: Give Points if RandomUser = Streamer
Post by: GingaNinja on May 01, 2018, 09:42:05 AM
Thanks for the updates you two! I will give those a shot.