Author Topic: Help with multiple @exec@ in one command  (Read 2099 times)

0 Members and 1 Guest are viewing this topic.

Know-All-Ogist

  • Youngling
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Help with multiple @exec@ in one command
« 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

Know-All-Ogist

  • Youngling
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Help with multiple @exec@ in one command
« Reply #1 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

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Help with multiple @exec@ in one command
« Reply #2 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.
Old Name: RepentGamingTV
Twitch: Here

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

Know-All-Ogist

  • Youngling
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Help with multiple @exec@ in one command
« Reply #3 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.

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Help with multiple @exec@ in one command
« Reply #4 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.
Old Name: RepentGamingTV
Twitch: Here

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

Know-All-Ogist

  • Youngling
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Help with multiple @exec@ in one command
« Reply #5 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