Deep Bot - Twitch Streamer Assistant

Deep Bot => Help/Support => Topic started by: Know-All-Ogist on January 21, 2017, 12:13:02 PM

Title: Help with multiple @exec@ in one command
Post by: Know-All-Ogist on January 21, 2017, 12:13:02 PM
I am a mod for a streamer, and we are setting up a rules command, that when the !rules command is used it will execute 11 other commands in sequence every seconds for 11 seconds.
here is what i have so far.
Code: [Select]
!rules @exec@[1,!rules1] @exec@[2,!rules2] @exec@[3,!rules3] @exec@[4,!rules] @exec@[5,!rules5] @exec@[6,!rules6] @exec@[7,!rules7] @exec@[8,!rules8] @exec@[9,!rules9] @exec@[10,!rules10] @exec@[11,!rules11]

And we have already made the commands for the rules commands !rules1-!rules11.

When I run the !rules command absolutely nothing happens.
Am i missing something
Title: Re: Help with multiple @exec@ in one command
Post by: Know-All-Ogist on January 23, 2017, 01:55:33 AM
also looking at my logs it shows that the command @exec@ is returning as @exec_na@.
any help would be appreciated
Title: Re: Help with multiple @exec@ in one command
Post by: TheNumbLock on January 23, 2017, 04:18:36 AM
Did it ever work adding Commands with @exec@? My guess is you will need the streamer to edit the command to your liking.
Title: Re: Help with multiple @exec@ in one command
Post by: Know-All-Ogist on January 23, 2017, 04:23:44 AM
no i have never been able to get @exec@ to work with ANY amount of embedded commands. Any time I have used that variable it changes itself from @exec@ to @exec_na@ and doesnt  work.
Title: Re: Help with multiple @exec@ in one command
Post by: TheNumbLock on January 23, 2017, 05:44:35 AM
My guess, is that it is disabled/not allowed to be added from chat due to security/exploits. You got a couple of options, you can have the streamer edit the command (or use teamviewer and you can edit for them), or you could use code and let the streamer import the commands. Quite a few examples of commands that are importable: http://wiki.deepbot.tv/user_custom_commands (Just hit Download Json under any of them for the code.) Then you can edit the JSON code to your liking and have the streamer import it.
Title: Re: Help with multiple @exec@ in one command
Post by: Know-All-Ogist on January 26, 2017, 10:02:24 AM
i ended up having to have my streamer remove the _na from all the commands, and it worked flawlessly. ty for the help