Ilom_uk

team reveal

May 12th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. else if arg-1 is "reveal":
  2. if command sender is a player:
  3. if player does not have permission "{@PERM}":
  4. send "{@T}{@C2} You do not have permission to do that!"
  5. stop
  6. loop all players:
  7. command "/playsound note.pling %loop-player% ~ ~ ~ 1 1 1"
  8. if {Teams.InTeam::%loop-player%} is set:
  9. set {_Team} to {Teams.InTeam::%loop-player%}
  10. set {_saveteammembers} to "%{Team.%{_Team}%::*}%"
  11. send "{@T}{@C} Your Team: {@C2}%{_saveteammembers}%" to loop-player
  12. else:
  13. send "{@T}{@C} Your Team: {@C2}%loop-player%" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment