Advertisement
grantygames

Untitled

Jun 7th, 2015
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. on region enter:
  2. wait 1 tick
  3. if "%region at player%" contains "mina01":
  4. add player to {mina.estou.%player%::*}
  5. on region leave:
  6. wait 1 tick
  7. if "%region at player%" contains "mina01":
  8. remove player from {mina.estou.%player%::*}
  9. on command "/mrl reset minapvp":
  10. loop all players:
  11. loop-player is equal to {mina.estou.%loop-player%::*}:
  12. send "&a[V] &7Resetando mina &aA &7em &c3&7." to loop-player
  13. wait 1 seconds
  14. send "&a[V] &7Resetando mina &aA &7em &c2&7." to loop-player
  15. wait 1 seconds
  16. send "&a[V] &7Resetando mina &aA &7em &c1&7." to loop-player
  17. wait 1 seconds
  18. teleport loop-player to spawn
  19. remove loop-player from {mina.estou.%loop-player%::*}
  20. send "&cA MINA RESETOU POHA" to loop-player
  21.  
  22. every 30 minutes:
  23. make console execute command "/mrl reset minapvp"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement