Custom command variables

With command variables you can tell fussbot to replace text within your commands with a variety of info's gathered by FussBot. You can use many different variables to let FussBot respond in a dynamic way.

Variables for dynamic commands
Variable Gets replaced with
$AUTHOR returns the author of a message
$ADDCOINS(numberhere) add or subtract coins from the viewer that executed the command
$BEEP makes a beep sound
$BETTIMELEFT returns the time that is left in a bet. If no bet is running no text will be posted
$CHANNELID returns the channelid of the user who executed the command
$COINS returns the number of coins the message author has
$COUNT use this in a command to log the usage of a it
$COUNT_R(commandnamehere) Return the usage of a command logged with $COUNT
$CURRENTVIEWER returns current number of viewers
$DATE returns latest date e.g. 08/21/2016
$FILE(C:\pathtofile.txt) returns content of specified textfile
$IMAGE(C:\imagepath.png) displays an image (png, animated gif, jpg) via http://localhost:1321/fussbot/commandimage if added to OBS
$KEYPRESS(R) executes the specified key, in thsi case "R". Only one keypress per command is possible, watch out when using it
$LASTVIDEOTITLE returns latest video title on youtube channel
$LASTVIDEOUPLOAD returns latest date and time of uploaded video
$LASTVIDEOLINK returns a link to the latest youtube video
$LATESTSUB returns the name of the latest sub
$POINTS returns the number of coins the message author has
$QUERY returns all text a user entered after a custom command. For example !command with returntext “User said: $QUERY” returns “User said: This is a test.” if a user used the command like this: !command This is a test
$RANDOM(limithere) returns a random number between 0 and your specified upper limit
$RANDOM returns a random number between 0 and 100
$RANDOMEMOJI returns a random emoji e.g. :-) :-( :-D :-P -.-
$RNDUSER returns a random username from an active user
$RANKSTATIC returns the statically assigned rank of a viewer. If there is none, an empty string gets returned
$RANKDYNAMIC returns the dynamically assigned rank of a viewer. If both watchtime and coins are used to determine a rank, watchtime rank will be used
$RANK returns the rank of a viewer. If there is a statically assigned rank for him this one gets returned, not the one determined by watchtime and coins. If he doesn't have one, an empty string gets returned
$SOUND(C:\soundfilepath.mp3) plays the specified soundfile
$SPEAK(Text here that gets read by Windows text to speach) Please note: Not all custom variables work inside the $SPEAK() variable
$SPOTIFY_TITLE returns song title of currently played spotify song. Empty if none is played
$SPOTIFY_ARTIST returns artist title of currently played spotify song. Empty if none is played
$SPOTIFY_ALBUM returns album title of currently played spotify song. Empty if none is played
$SUBCOUNT returns the total number of subscribers
$TIME returns latest time e.g. 07:12am
$TIMESPAN(your date here) returns years, months, days, hours from specified date similar to !uptime command
$TOPCOINSVIEWER returns the username of the user owning the most coins
$TOPWATCHTIMEVIEWER returns the username of the user who watched the stream the longest
$UPTIME returns uptime of the current stream
$URL(http://...) returns content of specified url. Be careful! It the whole html code, so be sure you know which site to us
$USER returns the username of the user who executed the command
$VIEWERCOINS(channelid) returns the number coins the viewer specified with supplied channelid owns
$VIEWERHOURS returns the number of hours the author of the command has
$WEEKDAY returns weekday e.g. tuesday