Author Topic: Custom Commands - Text File Aliases/Variable Naming Module  (Read 1707 times)

0 Members and 1 Guest are viewing this topic.

Marstead

  • Padawan
  • **
  • Posts: 51
  • Karma: +1/-0
    • View Profile
  • Twitch Name: Marstead
Custom Commands - Text File Aliases/Variable Naming Module
« 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!

Marstead

  • Padawan
  • **
  • Posts: 51
  • Karma: +1/-0
    • View Profile
  • Twitch Name: Marstead
Re: Custom Commands - Text File Aliases/Variable Naming Module
« Reply #1 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.