iku55

Untitled

Aug 17th, 2019
93
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #|------------------------------------------------------|
  2. #| |
  3. #| ----------------- ^ |-------\ |
  4. #| | / \ | | |
  5. #| | / \ |--------/ |
  6. #| | /-----\ | \ |
  7. #| | / \ | \ |
  8. #| | / \ |---------/ |
  9. #| |
  10. #| |
  11. #| |----- |---\ ----- ----- /----\ |----\ |
  12. #| |--- | | | | | | |----/ |
  13. #| |----- |---/ ----- | \----/ | \ |
  14. #| |
  15. #|------------------------------------------------------|
  16.  
  17.  
  18.  
  19.  
  20. command /setheader [<text>]:
  21. permission: tabeditor
  22. trigger:
  23. if arg-1 is set:
  24. set {header} to coloured arg
  25. loop all players:
  26. set tab header to coloured arg and footer to "%{footer}%" for loop-player
  27. send "&7Headerを変更しました。変更後: %coloured arg%"
  28. else:
  29. send "&c文字を入力してください。"
  30.  
  31. command /setfooter [<text>]:
  32. permission: tabeditor
  33. trigger:
  34. if arg-1 is set:
  35. set {footer} to coloured arg
  36. loop all players:
  37. set tab header to {header} and footer to coloured arg for loop-player
  38. send "&7Footerを変更しました。変更後: %coloured arg%"
  39. else:
  40. send "&c文字を入力してください。"
  41.  
  42. on join:
  43. set tab header to {header} and footer to {footer} for player
RAW Paste Data