Organized

Underground [SK]

Aug 31st, 2017
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #/ug
  2.  
  3. command /underground [<int=55>]:
  4. aliases: /ug
  5. trigger:
  6. {SI::on::%player%} is true
  7. loop all players:
  8. {si::on::%loop-player%} is not set
  9. y-coordinate of loop-player is less than arg-1
  10. set {_c} to TeamColour(loop-player)
  11. add "%{_c}%%loop-player%" to {_a::*}
  12. if {_a::*} is set:
  13. send "{@PSS} Players underground: {@C}y%arg-1%{@N}. &8({@C}%size of {_a::*}%&8)"
  14. send " {@A} {@N}%{_a::*}%"
  15. else:
  16. send "{@PSS} No players under {@C}y%arg-1%{@N}."
Advertisement
Add Comment
Please, Sign In to add comment