Guest User

Untitled

a guest
Nov 21st, 2013
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. command /clearall:
  2. permission: clearlag.use
  3. description: Usun wszystkie lezace rzeczy i moby
  4. executable by: players
  5. aliases: /ca, /clear
  6. trigger:
  7. set {_usunietych} to 0
  8. loop all dropped Items:
  9. Item is not Item Frame:
  10. clear dropped Items
  11. add 1 to {_usunietych}
  12. broadcast "<gold>[Clearlag] <lime>%{_usunietych}% itemow zniszczonych!"
  13. set {_zabitych} to 0
  14. loop all entities:
  15. delete loop-entity
  16. add 1 to {_zabitych}
  17. broadcast "<gold>[Clearlag] <lime>%{_zabitych}% mobow zabitych!"
  18. set {wiadomosc} to 0
  19.  
  20.  
  21.  
  22. every 1 minutes:
  23. add 1 to {wiadomosc}
  24. if {wiadomosc} is 1:
  25. broadcast "<gold>[Clearlag] &c Itemy i moby zostana usuniete za &730 &cmin"
  26. if {wiadomosc} is 15:
  27. broadcast "<gold>[Clearlag] &c Itemy i moby zostana usuniete za &715 &cmin"
  28. if {wiadomosc} is 25:
  29. broadcast "<gold>[Clearlag] &c Itemy i moby zostana usuniete za &75 &cmin"
  30. if {wiadomosc} is 29:
  31. broadcast "<gold>[Clearlag] &c Itemy i moby zostana usuniete za &71 &cmin"
  32. if {wiadomosc} is 30:
  33. loop all dropped Items:
  34. Item is not Item Frame:
  35. clear dropped Items
  36. add 1 to {_usunietych}
  37. broadcast "<gold>[Clearlag] <lime>%{_usunietych}% itemow zniszczonych!"
  38. set {_zabitych} to 0
  39. loop all entities:
  40. delete loop-entity
  41. add 1 to {_zabitych}
  42. broadcast "<gold>[Clearlag] <lime>%{_zabitych}% mobow zabitych!"
  43. set {wiadomosc} to 0
Advertisement
Add Comment
Please, Sign In to add comment