Guest User

Untitled

a guest
Apr 24th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. command /setspawn:
  2. trigger:
  3. if player have permissions "essentails.setspawn" or "*" or "essentials.*":
  4. set {essentials::spawn} to location of player
  5. command /spawn:
  6. trigger:
  7. teleport player to {essentials::spawn}
  8.  
  9. on command:
  10. set {_command.all} to "%command% %arguments%"
  11. set {_command::*} to {_command.all} split at " "
  12. loop {_command::*}:
  13. add loop-value to {_argumenty::*}
  14. if {_argumenty::1} is "c":
  15. if distance between location of player and {essentials::spawn} is greater than 20:
  16. cancel event
  17. send "&cJestes zbyt blisko granicy, żeby zalozyc gildie"
  18. else:
  19. stop
Add Comment
Please, Sign In to add comment