patison234

dffds

May 24th, 2015
500
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. on login:
  2. if {los.%uuid of player%} is not set:
  3. set {los.%uuid of player%} to 720
  4. if {los.%uuid of player%} is not 0:
  5. set {_hour} to {los.%uuid of player%}/60
  6. set {_minute} to {los.%uuid of player%}/12
  7. send "<red><bold> Poczekaj jeszcze %{_hour}% godzin i %{_minute}% minut do nastepnej szansy na prezent!"
  8. else:
  9. chance of 20%:
  10. give DIAMOND to player
  11. give EMERALD to player
  12. send "<aqua><bold>[<yellow><bold>Przewodnik<aqua><bold>]<light green>Otrzymales prezent!"
  13. delete {los.%uuid of player%}
  14. else:
  15. send "<aqua><bold>[<yellow><bold>Przewodnik<aqua><bold>]<light green>Tym razem nie otrzymales prezentu."
  16. delete {los.%uuid of player%}
  17. every 1 minute:
  18. loop all players:
  19. remove 1 from {los.%uuid of loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment