Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on command:
- command is "equipw"
- wait 3 ticks
- if inventory name of player's current inventory contains "的裝備0-0":
- loop 4 times:
- set {_no} to loop-number - 1
- set {_lore::*} to uncolored lore of slot {_no} of player's current inventory split at "||"
- loop {_lore::*}:
- if {_lore::%loop-index%} contains "頭飾" or "頭盔" or "衣服" or "衣甲" or "褲子" or "護腿" or "靴子" or "勾玉" or "飾品":
- set {_idex} to loop-index parsed as integer
- set line {_idex} of lore of slot {_no} of player's current inventory to "&e&l&f"
- loop 4 times:
- set {_no} to loop-number + 8
- set {_lore::*} to uncolored lore of slot {_no} of player's current inventory split at "||"
- loop {_lore::*}:
- if {_lore::%loop-index%} contains "頭飾" or "頭盔" or "衣服" or "衣甲" or "褲子" or "護腿" or "靴子" or "勾玉" or "飾品":
- set {_idex} to loop-index parsed as integer
- set line {_idex} of lore of slot {_no} of player's current inventory to "&e&l&f"
Add Comment
Please, Sign In to add comment