Deep Bot - Twitch Streamer Assistant
Deep Bot => Guides, Tutorials & Demo Videos => Topic started 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
-
Should this post have been put in another section of the forum? Is there a good way to move the OP?
-
@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.
-
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?
-
Make sure you set the command to run as user (elevated access)
-
Thanks for trying to help TheNumbLock! Unfortunately, it still isn't working. It is giving the same error. I even tried with bot permissions.
-
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.
-
Any additional help that anyone could offer would be appreciated.
-
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.
-
Just create another command that does !add command and just put the @exec@[!command] where we stated. Then it will work.
-
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?
-
Try this
@if@[@randomuser@||thatgirlslays||ThatGirlSlays was selected @exec@[0,!add 100 @user@]||ThatGirlSlays was not selected]
-
Thanks for the updates you two! I will give those a shot.