Deep Bot - Twitch Streamer Assistant

Deep Bot => Help/Support => Topic started by: GarbagePlay on September 24, 2015, 06:20:57 AM

Title: Can deepbot display help text when a !command expecting $message is left blank?
Post by: GarbagePlay on September 24, 2015, 06:20:57 AM
For example:

I want
Code: [Select]
!quote
if{$message(true), print>"Thanks $username! I've saved your $message to the quote database!", @writeline@ > db.txt}
Elseif{$message(null), print>"Usage: To add a quote type: !quote some-quote-here"}

So far, I can get away with this in other bots if I put the two commands on different lines and they leave the !quote blank.

BUT if they actually include something, the help text still displays as well as the success command.
Title: Re: Can deepbot display help text when a !command expecting $message is left blank?
Post by: TheNumbLock on September 24, 2015, 10:09:26 AM
When you have two lines in the command box, the bot sees each line as a random response. Also in the next update there will be an else if thing for what you wanna do. (Possibly a deny message as well if requirements not met.)

For now it won't work.

Also there is a built-in quote system.

(http://puu.sh/km29i/df1d558069.png)
Title: Re: Can deepbot display help text when a !command expecting $message is left blank?
Post by: GarbagePlay on September 24, 2015, 10:13:32 AM
Gotcha, so until the update I'm stuck with something like this on either bot? (i'm probably going to move to deepbot as soon as I get through paying this months rent)

(http://i.imgur.com/QWfFVDP.png)
(http://i.imgur.com/xnTdqMM.png)
Title: Re: Can deepbot display help text when a !command expecting $message is left blank?
Post by: TheNumbLock on September 24, 2015, 10:28:43 AM
Well the bot can write to .txt files.

(http://puu.sh/km38K/2193a933c3.png)
Title: Re: Can deepbot display help text when a !command expecting $message is left blank?
Post by: GarbagePlay on September 24, 2015, 10:31:58 AM
Oh I mean the problem of a blank command showing help text but a non-blank command showing help text and success text. (I don't want a correctly formatted command to also show help text.