1
Help/Support / Need Help with a command
« on: September 01, 2016, 12:01:59 AM »
I'm trying to work on a command that lets me change an OBS on screen counter.
The way the command is suppose to work is Mods are able to Add and subtract from the counter and never let it go below 0.
Reading through the custom commands. I created this command:
I then went in to "C:\DeepBot\custom logs" and created a folder called Beats. Then ran command, but no file was created.
The syntax looks correct to me. So i'm not sure why there is not file.
The way the command is suppose to work is Mods are able to Add and subtract from the counter and never let it go below 0.
Reading through the custom commands. I created this command:
Code: [Select]
@if@[<||@calc@[+|@readfile@[Beats\@user@.txt]|@target@[1]]||0||@savefile@[Beats\@user@.txt,@calc@[+|@readfile@[Beats\@user@.txt]|@target@[1]]]||@savefile@[Beats\@user@.txt,0]]
I then went in to "C:\DeepBot\custom logs" and created a folder called Beats. Then ran command, but no file was created.
The syntax looks correct to me. So i'm not sure why there is not file.