Guest User

Kod

a guest
Jul 27th, 2015
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. on right click on sign:
  2. if line 1 of clicked-entity is "Statek":
  3. if line 3 of clicked-entity is "Oczekiwanie":
  4. execute player command "Archery dolacz statek"
  5. else:
  6. send "&6&l>> &aGra juz wystartowala!" to player
  7.  
  8. every 2 seconds:
  9. loop all players:
  10. loop all blocks in radius 5 around loop-player:
  11. if loop-block is sign:
  12. if line 1 is "Statki:
  13. if line 2 is set:
  14. if (size of {Archery::statki::*}) >= 9:
  15. set line 3 of loop-block to "W trakcie"
  16. else:
  17. set line 3 of loop-block to "(size of {Archery::statki::*})//10"
  18.  
  19. on command /archery [<text> [<text>]:
  20. trigger:
  21. if arg 1 is "Statek":
  22. add player to {Archery::statek: :*}
  23. if (size of {Archery::statek: :*}) >= 9:
  24. loop {Archery::statek: :*}:
  25. set {_g} to loop-value
  26. set {_g} to {_g} parsed as player
  27. send "&eStart areny za 5s!" to {_g}
  28. wait 5 seconds
  29. teleport {_g} to {Archery::statek}
Advertisement
Add Comment
Please, Sign In to add comment