Deep Bot - Twitch Streamer Assistant

Deep Bot => Help/Support => Topic started by: DSheep on December 27, 2016, 11:25:31 PM

Title: Using @if@ to return message
Post by: DSheep on December 27, 2016, 11:25:31 PM
Hey there, first of all I'm not a streamer, I moderate for a friend so know that I only have mod level 2 access (if that will matter).

I'm having trouble figuring out how to use the @if@ variable to return a message when a command has successfully been used.

So the deal is I have this command for disabling custom commands;
Quote
!disable @disablecmd@[@target@]

And it works fine but the bot doesn't return a message saying the disabled command has been disabled or that the command has successfully been used.

Now, the problem is I can't figure out how to use
Quote
@if@[data||matchWith||matchedResult||FailResult]
to return such a message (on either success or fail)
I tried
Quote
@if@[@disablecmd@||@disablecmd@||Success||Failed]
and of course it didn't work.

Obviously I did something wrong, does anyone have an idea how I could get it to work?
Title: Re: Using @if@ to return message
Post by: TheNumbLock on December 28, 2016, 03:25:34 AM
Just know when adding commands through twitch chat, twitch doesn't recognize || and will make it say @if@[datamatchWithmatchedResultFailResult]. So that may be the issue on why it isn't working.