Deep Bot - Twitch Streamer Assistant

Deep Bot => Feature Requests => Topic started by: Marstead on August 27, 2016, 10:20:02 AM

Title: Custom Commands - Text File Aliases/Variable Naming Module
Post by: Marstead on August 27, 2016, 10:20:02 AM
It's really cool that we can use text files as stored variables with DeepBot, but it can make it really challenging to parse existing commands when you need to use very lengthy @readfile@[C:\Users\User\Google Drive\Example.txt] and so on. I'd really like a small submodule in Custom Commands to define text file aliases, so I could say that (for example)

@votes@ maps to --> C:\Users\User\Google Drive\votes.txt

That way in the future I can refer to that long path string as the more friendly @votes@, for example @savefile@[@votes@] and @readfile@[@votes@]. Bonus points if you can use a different name structure from out-of-the-box variables like $votes$ to make it easier to parse these.

Thanks!
Title: Re: Custom Commands - Text File Aliases/Variable Naming Module
Post by: Marstead on August 27, 2016, 01:42:20 PM
Missed the post-edit threshold:

Being able to define custom aliases in general for any text string (including file paths as in the original post above) could be helpful to clean up big custom commands and make it easier to bug hunt as well.