Hey there Deepbot peoples!
I'm trying to set up a command chain that requires me to get a result from a calc command and save it to a .txt file. But i'm not sure how to do this, i've tried various ways about it but i just can't quite get it.
The latest version, that RepentGaming worked with me on, is this:
@calcpre@[+,@readfile@[custom logs/24hstream.txt],@target@] - So the calc fetches a number from the text file and adds that value with the @target@ value. Which works just fine. My issue is, that the sum of these two needs to be saved somewhere and i don't know how to do this.
Repent suggested that i try a savelog command like this: @savelog@[textfile.txt,@message@] as a chained command to the calc command. However this doesn't insert anything into the text file

Anyone out there who has a way of fetching the sum of this calc to store in a file?