Might be easier to do something like this:
This command is what mods can use to add +1 to the .txt file:
Note: Maybe add a chain to !cuss.
!addcuss
@savefile@[cuss.txt,@calc@[+|1|@readfile@[cuss.txt]]]
Viewer Command/Chained Command for !addcuss and !editcuss:
!cuss
Psy just said a naughty! That's @readfile@[cuss.txt] times!
Mods could use this to edit the .txt file manually.
!editcuss
@savefile@[cuss.txt,@target@]
_________
Another one could be:
If mods do not include a number after the command, it will add +1, if they include a number it will add the number + current number in .txt file.
!addcuss
@if@[@target@||||@savefile@[cuss.txt,@calc@[+|1|@readfile@[cuss.txt]]]||@savefile@[cuss.txt,@calc@[+|@readfile@[cuss.txt]|@target@]]]
Example:
Viewer Command/Chained Command for !addcuss and !editcuss:
!cuss
Psy just said a naughty! That's @readfile@[cuss.txt] times!
!addcuss:
!cuss (Ignore that the names that are different):