Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /showinv:
- trigger:
- if {stuff:%player%::*} exists:
- open chest with 6 rows named "Saved Inventory" to player
- set {_slot} to -1
- loop {stuff:%player%::*}:
- add 1 to {_slot}
- set slot {_slot} of player's current inventory to loop-value
- command /saveinv:
- trigger:
- loop all items in player's inventory:
- add loop-item to {stuff:%player%::*}
- send "&a&l[✓] &fSaved &7&o%size of {stuff:%player%::*}%&r&f items."
- @OBS: Este code é apenas um exemplo.
Advertisement
Add Comment
Please, Sign In to add comment