Advertisement
kaizyukun

Untitled

Apr 2nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. command /unbreakable [<text>]:
  2. permission:item.unbreakable
  3. permission message: &cYou do not have permission
  4. trigger:
  5. if player is holding air:
  6. send "&eアイテムが手持ちにありません"
  7. stop
  8. else:
  9. if arg 1 is set:
  10. set the unbreakable of player's tool to "%arg 1%"
  11. send "&aunbreakable"
  12. stop
  13. if arg 1 is not set:
  14. send "&eテキストが入力されていません"
  15. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement