Deep Bot - Twitch Streamer Assistant
Deep Bot => Help/Support => Topic started by: GarbagePlay on September 24, 2015, 06:20:57 AM
-
For example:
I want
!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.
-
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)
-
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)
-
Well the bot can write to .txt files.
(http://puu.sh/km38K/2193a933c3.png)
-
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.