Advertisement
fleft17

Untitled

Apr 27th, 2014
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. command /ironman:
  2. usage: /ironman
  3. permission: skript.op
  4. trigger:
  5. set {ironman} to true
  6. loop all players:
  7. add loop-player to {ironman::*}
  8. set {_temp1} to 0
  9.  
  10.  
  11.  
  12. on damage:
  13. {ironman} is true
  14. remove player from {ironman::*}
  15. broadcast "%{ironman::*}%"
  16. loop {ironman::*}:
  17. add 1 to {_temp1}
  18. set {_loopplayer} to loop-value
  19. if {_temp1} is 1:
  20. broadcast "%&e&l{_loop-player}% is iron man!"
  21. set {ironman} to false
  22. else:
  23. set {_temp1} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement