Deep Bot - Twitch Streamer Assistant

Deep Bot => Help/Support => Topic started by: JB940 on November 29, 2016, 02:42:36 AM

Title: @if@ not working with addcmd?
Post by: JB940 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?
Title: Re: @if@ not working with addcmd?
Post by: TheNumbLock 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]
Title: Re: @if@ not working with addcmd?
Post by: JB940 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.
Title: Re: @if@ not working with addcmd?
Post by: TheNumbLock 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.