Closed ForeverZer0 closed 3 years ago
Hey, i agree that a RAND
op could be useful, but it is going to need some extra parameters:
RAND
ops?I'll see what i can do this week
Sounds great! I was giving a low-complexity example, but the more nuanced features you stated would make it even more powerful and useful, allowing for even more possibilities. I look forward to seeing what you can achieve with this plugin, it has already become a standard addition to any server I run, great work.
@ForeverZer0 Is the new MATH_EXPR
something you can work with? https://github.com/Yamakaja/commanditems#math_expr
For some examples see the default config.yml
Looks great, well above and beyond what I could have hoped for. Thank you very much for considering this request and implementing it so quickly.
I wish to request a feature that I believe many users could find useful: the addition of a
RAND
function as possible operator that can be used within theop
parameter when usingCALC
.The
a
andb
parameters would function as a minimum and maximum threshold, and the value could then of course be stored in thetarget
parameter for further processing.Example Usage: