henry900326

Untitled

Feb 20th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. command /nbti [<text>] [<text>] [<text>] [<text>]:
  2. trigger:
  3. if command sender is an op:
  4. if arg-1 is "name":
  5. if arg-2 is set:
  6. set name of player's tool to arg-2
  7. replace every "&" with "§" in name of player's tool
  8. if arg-1 is "lore":
  9. if arg-2 is "add":
  10. if arg-3 is set:
  11. if lore of player's tool is "":
  12. set lore of player's tool to "%arg-3%"
  13. else:
  14. set lore of player's tool to "%lore of player's tool%||%arg-3%"
  15. replace every "&" with "§" in lore of player's tool
  16. if arg-2 is "set":
  17. if arg-3 is set:
  18. if arg-4 is set:
  19. set {_Num} to arg-3 parsed as integer
  20. set line {_Num} of lore of player's tool to "%arg-4%"
  21. replace every "&" with "§" in lore of player's tool
  22. if arg-4 is not set:
  23. set {_Num} to arg-3 parsed as integer
  24. set line {_Num} of lore of player's tool to ""
  25. replace every "&" with "§" in lore of player's tool
  26. if arg-2 is "del":
  27. if arg-3 is set:
  28. set {_Num} to arg-3 parsed as integer
  29. delete line {_Num} of lore of player's tool
  30. replace every "&" with "§" in lore of player's tool
  31. if lore of player's tool is "":
  32. delete line 1 of lore of player's tool
  33. if arg-2 is "delall":
  34. set lore of player's tool to ""
  35. delete line 1 of lore of player's tool
  36. command /nbth <offlineplayer>:
  37. trigger:
  38. if command sender is an op:
  39. give argument's skull named "%argument%的頭顱" to player
  40. command /seeinv [<offlineplayer>]:
  41. trigger:
  42. set {_Player} to "%arg-1%" parsed as offlineplayer
  43. open the inventory of {_Player} for the player
Advertisement
Add Comment
Please, Sign In to add comment