Deep Bot - Twitch Streamer Assistant

Deep Bot => Help/Support => Topic started by: KiWad on December 17, 2017, 08:20:37 PM

Title: Variables in Custom Bot Commands
Post by: KiWad on December 17, 2017, 08:20:37 PM
Hi all. Have a question - what you use in CustomCommands in the role of Variables(i trying to use .txt files, but this is not comfortable, cause some operands cannot do with txt files all what you need to)? I realy wanna see in this bot opportunity to create variables that will be working for all commands in group...
Title: Re: Variables in Custom Bot Commands
Post by: TheNumbLock on December 18, 2017, 01:17:50 AM
Not sure what you are trying to do, but here is a list of variables that are in the bot already: http://wiki.deepbot.tv/custom_commands
Title: Re: Variables in Custom Bot Commands
Post by: KiWad on December 18, 2017, 08:06:30 PM
TheNumbLock

Well i know about them. Ok.
example:
In our command we use @target@ and @if@[date|match|result|fail]. AND if @if@ looks like @if@[someData| Match| yes is match| !SomeCustomCommand], !SomeCustomCommand will loose @target@, that command dont see @target@. This you may change if use .txt file like variable. save @target@ in .txt and use it in another command, but this is very not comfortable...
 
Title: Re: Variables in Custom Bot Commands
Post by: TheNumbLock on December 18, 2017, 08:09:53 PM
Easy: @if@[someData| Match| yes is match| !SomeCustomCommand @target@]

Or Evan: @if@[@target@| Match| yes is match| !SomeCustomCommand @target@]
Title: Re: Variables in Custom Bot Commands
Post by: KiWad on December 19, 2017, 10:35:05 PM
OMFG KILL ME PLS i even dont think to try this >.< Thanks)
Title: Re: Variables in Custom Bot Commands
Post by: TheNumbLock on December 20, 2017, 02:29:19 AM
All good. :P