kjfalkeiae

Untitled

Mar 25th, 2019
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. command /sbchange [<number>] [<text>]:
  2. trigger:
  3. if sender does not have permission "scoreboard.sbchange":
  4. send "&cYou don't have permission to do this."
  5. stop
  6. loop all players:
  7. wipe loop-player's sidebar
  8. set {_sidebar} to coloured arg 2
  9. replace all "{rank}" with {skchat.prefix.%loop-player%} in {_sidebar}
  10. replace all "{online}" with "%amount of players%" in {_sidebar}
  11. replace all "{ping}" with "%loop-player's ping%" in {_sidebar}
  12. replace all "{now}" with "%now%" in {_sidebar}
  13. replace all "{max}" with "%maximum players%" in {_sidebar}
  14. set score {_sidebar} in sidebar of loop-player to arg 1
  15.  
  16. command /sbnamechange [<text>]:
  17. trigger:
  18. if sender does not have permission "scoreboard.sbnamechange":
  19. send "&cYou don't have permission to do this."
  20. stop
  21. loop all players:
  22. wipe loop-player's sidebar
  23. set name of sidebar of loop-player to coloured arg 1
Advertisement
Add Comment
Please, Sign In to add comment