Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
command /randomitem:
trigger:
set {_items::*} to "diamond" and "stone", "iron pickaxe", "bow"
send random element out of {_items::*}
Why would you reply with the exact same code just changed up how the variable is madeOr
Code:command /randomitem: trigger: set {_items::*} to "diamond" and "stone", "iron pickaxe", "bow" send random element out of {_items::*}
no you wouldn't, dumbass.Because i can + if you want a random item out of all items, you would need to use skript-reflect.
set {_item} to random element out of all items
what version do you usually use? bc I'm pretty sure it was there since 2.7.0 (or maybe before)Then skript added it recently ig
would you consider items like a knowledge book a 'non-item'?For a long time i was inactive in skript for a few months. When i tried getting a random item from all items, there was no way and skbee's one was also "trash" / buggy and had items that wheren't items. That's why i said you need skript-reflect which you obv don't need because you could your own addon just for that in theroy.
Wdym 'potted bogus'?I mean this potted bogus and these items that made/make a fatal skript error
He just means items like barrier and cmd blocks that people were gettingWdym 'potted bogus'?
Ohhh. Makes sense.He just means items like barrier and cmd blocks that people were getting
I have never seen that before...Like potted oak sapling. This is a block and it makes a error when you try to drop / give it as an item.