Guest User

Untitled

a guest
May 8th, 2013
604
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. command /createwarp <text>:
  2. permission: warp.create
  3. trigger:
  4. set {warp.%argument%} to location of the player
  5. message "&4[&6A-Warps&4] &bStworzyles warp %argument%!"
  6. command /warp <text>:
  7. trigger:
  8. if {warp.%argument%} is not set:
  9. message "&f[&6EssentialsSC&f] &bWarp '%argument%' nie zostal odnaleziony!"
  10. if {warp.%argument%} is set:
  11. apply nausea 2 to the player for 5 seconds
  12. send "&4[&6A-Warps&4] &bTeleportacja do &c%argument 1%&b za 2 sekundy!"
  13. wait 2 seconds
  14. teleport the player to {warp.%argument%}
  15. on right click on sign:
  16. if line 1 of clicked block is "&4[&6A-Warp&4]":
  17. if {warp.%line 2 of clicked block%} is set:
  18. apply nausea 2 to the player for 5 seconds
  19. send "&4[&6A-Warp&4] &bTeleportacja do &c%line 2 of clicked block%&b za 2 sekundy!"
  20. wait 2 seconds
  21. teleport the player to {warp.%line 2 of clicked block%}
  22. if {warp.%line 2 of clicked block%} is not set:
  23. set line 3 to "&4BLEDNA"
  24. set line 4 to "&4NAZWA WARPA"
  25. on sign change:
  26. player has permission "warp.create.sign"
  27. line 1 is "aw"
  28. set line 1 to "&4[&6A-Warp&4]"
Advertisement
Add Comment
Please, Sign In to add comment