QsQ

Warps!

QsQ
Jan 23rd, 2014
361
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. command /setwarp <text>:
  2. permission: nwarp.create
  3. trigger:
  4. if {nwarp.%argument%} is not set:
  5. set {nwarp.%argument%} to location of the player
  6. message "&6[nWarp] &7nWarp o nazwie &c&l%argument% &7stworzony"
  7. stop trigger
  8. if {nwarp.%argument%} is set:
  9. message "&6[nWarp] &7nWarp o nazwie &c&l%argument% &7juz istnieje."
  10. stop trigger
  11. command /delwarp <text>:
  12. permission: nwarp.delete
  13. trigger:
  14. if {nwarp.%argument%} is set:
  15. delete {nwarp.%argument%}
  16. message "&6[nWarp] &7nWarp o nazwie &c&l%argument% &7usuniety"
  17. stop trigger
  18. if {nwarp.%argument%} is not set:
  19. message "&6[nWarp] &7nWarp o nazwie &c&l%argument% &7nie istnieje wiec nie mozna go usunac..."
  20. stop trigger
  21. on right click on sign:
  22. if line 1 of clicked block is "&l[nWarp]":
  23. if {nwarp.%line 2 of clicked block%} is set:
  24. apply nausea 2 to the player for 5 seconds
  25. send "&6[Skyblock] &7Teleportacja do &c&l%line 2 of clicked block%&7 za &c2 sekundy"
  26. wait 2 seconds
  27. teleport the player to {nwarp.%line 2 of clicked block%}
  28. if {nwarp.%line 2 of clicked block%} is not set:
  29. send "warp nie istnieje" to player
  30. command /warp <text>:
  31. trigger:
  32. if {nwarp.%argument%} is not set:
  33. message "&6[nWarp] &7nWarp &c&l%argument% &7nie istnieje"
  34. if {nwarp.%argument%} is set:
  35. apply nausea 2 to the player for 5 seconds
  36. send "&6[nWarp] &7Teleportacja do nWarpa o nazwie &c&l%argument 1%&7 za 2 sekundy!"
  37. wait 2 seconds
  38. teleport the player to {nwarp.%argument%}
  39. on sign change:
  40. player has permission "nwarp.create.sign"
  41. line 1 is "[nw]"
  42. set line 1 to "&l[nWarp]"
Advertisement
Add Comment
Please, Sign In to add comment