Advertisement
LewY

masz-2.sk

Jun 9th, 2015
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. variables:
  2. {Drop.pozwol.} = false
  3. {Ity.daj.} = true
  4.  
  5. on login:
  6. if {Ity.daj.%player%} is true:
  7. clear player's inventory
  8. wait 2 tick
  9. play raw sound "note.snare" at player with pitch 1 volume 8
  10. give enchanted book named "&c&lMenu serwera" to slot 0 of player's inventory
  11. wait 0.8 tick
  12. play raw sound "note.snare" at player with pitch 1 volume 8
  13. give ender pearl named "&e&lMagiczna Perla" to slot 1 of player's inventory
  14. wait 0.8 tick
  15. play raw sound "note.snare" at player with pitch 1 volume 8
  16. give clock named "&7&lGracze: &a&lWidoczni" to slot 8 of player's inventory
  17. else:
  18. stop
  19.  
  20. command /lobbyity [<text>]:
  21. trigger:
  22. if arg 1 is not set:
  23. send "/lobbyity drop lub wejscie- ustawia drop na true/false lub wejscie na true/false"
  24. if arg 1 is "drop":
  25. if {Drop.pozwol.%player%} is false:
  26. set {Drop.pozwol.%player%} to true
  27. send "drop ustawiono na %{Drop.pozwol.%player%}%"
  28. else:
  29. set {Drop.pozwol.%player%} to false
  30. send "drop ustawiono na %{Drop.pozwol.%player%}%"
  31. if arg 1 is "wejscie":
  32. if {Ity.daj.%player%} is false:
  33. set {Ity.daj.%player%} to true
  34. send "Ity dawane na wejsciu ustawiono na %{Ity.daj.%player%}%"
  35. else:
  36. set {Ity.daj.%player%} to false
  37. send "Ity dawane na wejsciu ustawiono na %{Ity.daj.%player%}%"
  38. on drop:
  39. if {Drop.pozwol.%player%} is false:
  40. cancel the event
  41. give air to slot 2 of player's inventory
  42. give air to slot 3 of player's inventory
  43. give air to slot 4 of player's inventory
  44. give air to slot 5 of player's inventory
  45. give air to slot 6 of player's inventory
  46. give air to slot 7 of player's inventory
  47. else:
  48. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement