Author Topic: @if@ not working with addcmd?  (Read 1415 times)

0 Members and 1 Guest are viewing this topic.

JB940

  • Youngling
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
@if@ not working with addcmd?
« on: November 29, 2016, 02:42:36 AM »
Hello!

I am a mod for a deepbot VIP streamer. (I confirmed by using @calc@)

However when I do the following:
Code: [Select]
!addcmd !test @if@[@user@||jb940||Itsa me||Its not me]
The command does nothing. If I type letters before or after the IF they display fine, just not the if itself.

What am I doing wrong?

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: @if@ not working with addcmd?
« Reply #1 on: November 29, 2016, 04:46:12 AM »
Possibly the || aren't being seen so it would look like this: @if@[@user@jb940Itsa meIts not me]
Old Name: RepentGamingTV
Twitch: Here

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

JB940

  • Youngling
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: @if@ not working with addcmd?
« Reply #2 on: November 29, 2016, 04:51:45 AM »
Possibly the || aren't being seen so it would look like this: @if@[@user@jb940Itsa meIts not me]

Actually, that may possibly be the case. When I left the compare string empty
Code: [Select]
@if@[@user@||||Itsa me||Its not meIt would display Itsa meIts not me.

Is there any reason why it doesn't read them, or anything I can do? Cause apperently it works partially, as it doesn't repeat the "@user@" part or use an empty string.

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: @if@ not working with addcmd?
« Reply #3 on: November 29, 2016, 07:01:51 AM »
Honestly, not that I know of. It is an issue since I know mods need to add commands through chat since they don't have access to the bot itself. It has been suggested to have an emulator for mods, but also a dash board to make it a bit easier for mods as well. But right now, I don't know how to go about it. You would most likely just need to give the streamer the info for the command to make it.

If you have Deepbot yourself, you can always make the command, then export it and give him/her the code to import it.
Old Name: RepentGamingTV
Twitch: Here

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