TwinzPL

Untitled

May 16th, 2014
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. options:
  2. tag: &4[&6McSurv&4]:
  3. tag2: &4-&6McSurv&4-
  4. itemki: 1 redstone and 1 stick
  5. item: stick
  6. item1: 1 redstone
  7. item2: 1 stick
  8. permission: {@tag}&9Nie masz uprawnien!
  9. on rightclick on furnace:
  10. if {transform.%clicked block%} is less than 100:
  11. stop
  12. if {transform.%clicked block%} is more than 99:
  13. clear {transform.%clicked block%}
  14. if {transform.%clicked block%} is not set:
  15. loop 100 times:
  16. wait 2 seconds
  17. if clicked block contains {@itemki}:
  18. wait 1 tick
  19. add 1 {@item} of infinity 5 named "&4Teleport na home" to clicked block
  20. wait 1 tick
  21. remove {@item1} from clicked block
  22. remove {@item2} from clicked block
  23. on rightclick with a stick of infinity 5:
  24. set {_pos} to location of player
  25. send "{@tag}&9Czekaj 5 sekund, nie mozesz sie ruszac!"
  26. if {_pos} isn't location of player:
  27. send "{@tag}&9Wykryto ruch, teleportacja anulowana!"
  28. stop
  29. wait 1 second
  30. if {_pos} isn't location of player:
  31. send "{@tag}&9Wykryto ruch, teleportacja anulowana!"
  32. stop
  33. wait 1 second
  34. if {_pos} isn't location of player:
  35. send "{@tag}&9Wykryto ruch, teleportacja anulowana!"
  36. stop
  37. wait 1 second
  38. if {_pos} isn't location of player:
  39. send "{@tag}&9Wykryto ruch, teleportacja anulowana!"
  40. stop
  41. wait 1 second
  42. if {_pos} isn't location of player:
  43. send "{@tag}&9Wykryto ruch, teleportacja anulowana!"
  44. stop
  45. wait 1 second
  46. if {_pos} is location of player:
  47. remove 1 {@item} of infinity 5 from the player
  48. teleport player to {teleport.home}
  49. send "{@tag}&9Teleportacja..."
  50. else:
  51. send "{@tag}&9Wykryto ruch, teleportacja anulowana!"
  52. stop
  53. command /home [<text>]:
  54. aliases: ehome
  55. trigger:
  56. if arg 1 is not set:
  57. send "&9========={@tag2}========="
  58. send "&9/home - Pokazuje liste komend"
  59. send "&9/home setspawn - Ustawia home"
  60. send "&9========================="
  61. if arg 1 is "setspawn":
  62. set {teleport.home} to location of player
  63. send "{@tag}&9Ustawiono dom!"
  64. stop
  65. if arg 1 is not "setspawn":
  66. send "{@tag} &9Nie ma takiej komendy! Wpisz /home"
  67. stop
  68. command /sethome:
  69. aliases: esethome
  70. trigger:
  71. send "{@tag}&9Nie ma takiej komendy! Wpisz /home"
  72. stop
Advertisement
Add Comment
Please, Sign In to add comment