Calculator: command: /calc type: RUN_COMMAND #required_args: 1 permission-required: true runcmd: - $Script$%if%$arg1.isanumber - $Script$%if%$arg3.isanumber - $Script$%PlayerData%calc1=$arg1- $Script$%if%$arg2==add - $Script$%PlayerData%calc1+$arg3 - $text$$PlayerData%calc1%I'm trying to use this to calculate $arg1 and $arg3 and whenever I type /calc 1 add 1, it gives me random 2's and 1's every time I type the command. Is there any way to resolve this or is there any method that I can use to fix this? Thank you.
Yhup. I chekced the mycmd-playerdata check and it randomly set to 1 and 2 . I also have some concerns with the same issue as when giving experience points. If I multiply 250 into how many exp they want to purchase, it randomly sets to 9 million and I don't know why. By the way, thank you for suggesting about the Math. Will definitely use this instead.
To post a comment, please
or register a new account.