BluNET - Home of Ultimate Twitch Bot

Guest


Author Topic: TXT, URL, & EXE Variables  (Read 1936 times)

SeeingBlue

  • Administrator
  • *****
  • Posts: 748
  • Admin of all this
    • View Profile
    • BluNET
  • Twitch ID: SeeingBlue
TXT, URL, & EXE Variables
« on: October 02, 2016, 09:21:38 PM »
This thread is a short description of how to use variables [txt=], [url =], & [exe=].

TXT Variable
  • This variable looks for text files where ever you tell it to.
  • It accepts full paths and partial paths.
    • Example: [txt=file.txt] - This will look for file.txt in your install folder.
    • Example: [txt=c:\file.txt] - This will look for file.txt in the C:\ directory.
  • The [txt=] variable will be replaced with the first line of the text file.
  • Variable will be replaced with a random line when the file contains multiple lines.

URL Variable
  • Just like the TXT variable this one will load a document from a given URL.
    • Example: [url = http://seeingblue.us/utb3.txt](No Spaces)
  • The [url = http://seeingblue.us/utb3.txt] variable will be replaced with the first line of the document loaded.

EXE Variable WARNING - DO NOT ALLOW THIS TO ANYONE YOU DO NOT COMPLETELY TRUST!!
  • The EXE variable will execute any file on your computer.
    • Example: [exe=c:\windows\system32\notepad.exe]
    • Example: [exe=run.bat]

Known Issues
  • Bot the is know to remove/parse characters like: \n
    • This will cause some commands impossible to properly setup from Twitch chat via AddCmd.
« Last Edit: July 03, 2017, 07:21:25 PM by SeeingBlue »
Want the Latest News?

Follow me on Social Media for News on BluNET & Ultimate Twitch Bot.