Advertisement
Captainkoala72

Spots

Apr 3rd, 2015
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. options:
  2. P: &8[&6Spot&8]&7
  3. Perm: spot.op
  4. TelePerm: spot.player
  5.  
  6. command /setspot [<text>]:
  7. Permission: {Perm}
  8. trigger:
  9. if arg-1 is not set:
  10. message "{@P} /SetSpot <Name of Spot>"
  11. stop
  12. else:
  13. set {spot.%arg-1%} to location of the player
  14. message "{@P} %arg-1% has been set at %location%"
  15.  
  16. command /spot [<text>]:
  17. permission: {TelePerm}
  18. trigger:
  19. if arg-1 is not set:
  20. message "{@P} /Spot <Name of Spot>"
  21. stop
  22. else:
  23. if {spot.%arg-1%} is not set:
  24. message "{@P} That spot has not been set yet!"
  25. stop
  26. else:
  27. teleport player to {spot.%arg-1%}
  28. message "{@P} You have been teleported to %arg-1%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement