I tried to make a /sell command and I got the error on multiple servers including my localhost test server and a Minehut server. I got the error on both servers, and I tried disabling my addons and still didn't work.
https://pastebin.com/e5DVvhjP (Code)
I wanted it to sell all the ores in the player's inventory by setting variables to the amount of that item in the player's inventory. Then, it would add them all together and add them to the temp. variable {_made} so I can send how much they made and then add that temp. variable to {m::%player%} (their balance's variable)
Console: https://gist.github.com/oHeckGage/9132dda272a506d5e410005e3172fed8
I've used a test server and Minehut:
MH: 1.16 TS: 1.16
MH Skript Version: 2.4.1MH (Idrk if that's the "real" version) TS Skript Version: 2.5-alpha6(rev1) and 2.4.1
(2.4.1 is the latest stable version)
Duplicate of #2752
err wait, I was thinking something wrong here.
Please provide test results from our fork of Skript, not another persons fork.
Dunno what you mean, I got Skript.jar from github.com/SkriptLang/Skript/releases I think, am I supposed to download it from somewhere else?
He meant if you could send the error report that you get using THIS fork, instead of Minehut鈥檚.
Oh sure
Thanks! Your code should error, but for some reason it isn鈥檛. I鈥檓 assuming you鈥檙e trying to find the total amount of those materials, so you should add them together instead of putting them in a list.
e.g. set {_made} to {_iron} + {_gold} + ...
I believe this is what you are trying to do 馃檪
We will keep this issue open for now though since it is technically a bug
Yes it is what I wanted, I will see if that fixes it and see if there are errors!
Thanks! It works!
Most helpful comment
Oh sure