1
Help/Support / Using @if@ to return message
« 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;
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
I tried
Obviously I did something wrong, does anyone have an idea how I could get it to work?
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?