Im trying to create a command for darksouls to count how many souls ive lost, where the user (in this case, a moderator) will type a number after calling the command like this: !almas 100 and the command will store the total amount of souls in a variable.
I thought I could do it like this: !addcom !almas $(eval let almas = 0; almas = almas + $(query); Ha perdido ${almas}; ) but it doesn't work.
Everytime I call the command it resets the variable almas to 0.
Any Ideas?
Trying to create a "count" command with custom inputs
2 replies
You can do it with this API /t/customapi-quote-system/1534582092787093695
If you want me to write out a command that can do it let me know.