Guest User

asd

a guest
Feb 23rd, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. command /ustaw [<text>]:
  2. trigger:
  3. if arg 1 is not set:
  4. send "Ustaw miejsca 1-5"
  5. if arg 1 is "1":
  6. player has permissions "Ustaw.1":
  7. send "Ustawiles miejsce 1"
  8. set {Ustaw1} to location of player
  9. else:
  10. send "Nie posiadasz uprawnien !"
  11. if arg 1 is "2":
  12. player has permissions "Ustaw.2":
  13. send "Ustawiles miejsce 2"
  14. set {Ustaw2} to location of player
  15. else:
  16. send "Nie posiadasz uprawnien !"
  17. if arg 1 is "3":
  18. player has permissions "Ustaw.3":
  19. send "Ustawiles miejsce 3"
  20. set {Ustaw3} to location of player
  21. else:
  22. send "Nie posiadasz uprawnien !"
  23. if arg 1 is "4":
  24. player has permissions "Ustaw.4":
  25. send "Ustawiles miejsce 4"
  26. set {Ustaw4} to location of player
  27. else:
  28. send "Nie posiadasz uprawnien !"
  29. if arg 1 is "5":
  30. player has permissions "Ustaw.5":
  31. send "Ustawiles miejsce 5"
  32. set {Ustaw5} to location of player
  33. else:
  34. send "Nie posiadasz uprawnien !"
  35.  
  36. on rightclick on sign:
  37. if line 1 is "[Teleport]":
  38. chance of 50%:
  39. teleport player to {Ustaw1}
  40. chance of 50%:
  41. teleport player to {Ustaw2}
  42. chance of 50%:
  43. teleport player to {Ustaw3}
  44. chance of 50%:
  45. teleport player to {Ustaw4}
  46. chance of 50%:
  47. teleport player to {Ustaw5}
Advertisement
Add Comment
Please, Sign In to add comment