Guest User

Untitled

a guest
Nov 21st, 2013
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. 1.
  2. command /clearall:
  3.  
  4. 2.
  5. permission: clearlag.use
  6.  
  7. 3.
  8. description: Usun wszystkie lezace rzeczy i moby
  9.  
  10. 4.
  11. executable by: players
  12.  
  13. 5.
  14. aliases: /ca, /clear
  15.  
  16. 6.
  17. trigger:
  18.  
  19. 7.
  20. set {_usunietych} to 0
  21.  
  22. 8.
  23. loop all dropped Items:
  24.  
  25. 9.
  26. Item is not Item Frame:
  27.  
  28. 10.
  29. clear dropped Items
  30.  
  31. 11.
  32. add 1 to {_usunietych}
  33. add 1 to {_usunietych}
  34.  
  35. 12.
  36. broadcast "<gold>[Clearlag] <lime>%{_usunietych}% itemow zniszczonych!"
  37.  
  38. 13.
  39. set {_zabitych} to 0
  40.  
  41. 14.
  42. loop all entities:
  43.  
  44. 15.
  45. delete loop-entity
  46.  
  47. 16.
  48. add 1 to {_zabitych}
  49.  
  50. 17.
  51. broadcast "<gold>[Clearlag] <lime>%{_zabitych}% mobow zabitych!"
  52.  
  53. 18.
  54. set {wiadomosc} to 0
  55.  
  56. 19.
  57.  
  58.  
  59. 20.
  60.  
  61.  
  62. 21.
  63.  
  64.  
  65. 22.
  66. every 1 minutes:
  67.  
  68. 23.
  69. add 1 to {wiadomosc}
  70.  
  71. 24.
  72. if {wiadomosc} is 1:
  73.  
  74. 25.
  75. broadcast "<gold>[Clearlag] &c Itemy i moby zostana usuniete za &730 &cmin"
  76.  
  77. 26.
  78. if {wiadomosc} is 15:
  79.  
  80. 27.
  81. broadcast "<gold>[Clearlag] &c Itemy i moby zostana usuniete za &715 &cmin"
  82.  
  83. 28.
  84. if {wiadomosc} is 25:
  85.  
  86. 29.
  87. broadcast "<gold>[Clearlag] &c Itemy i moby zostana usuniete za &75 &cmin"
  88.  
  89. 30.
  90. if {wiadomosc} is 29:
  91.  
  92. 31.
  93. broadcast "<gold>[Clearlag] &c Itemy i moby zostana usuniete za &71 &cmin"
  94.  
  95. 32.
  96. if {wiadomosc} is 30:
  97.  
  98. 33.
  99. loop all dropped Items:
  100.  
  101. 34.
  102. Item is not Item Frame:
  103.  
  104. 35.
  105. clear dropped Items
  106.  
  107. 36.
  108. add 1 to {_usunietych}
  109.  
  110. 37.
  111. broadcast "<gold>[Clearlag] <lime>%{_usunietych}% itemow zniszczonych!"
  112.  
  113. 38.
  114. set {_zabitych} to 0
  115.  
  116. 39.
  117. loop all entities:
  118.  
  119. 40.
  120. delete loop-entity
  121.  
  122. 41.
  123. add 1 to {_zabitych}
  124.  
  125. 42.
  126. broadcast "<gold>[Clearlag] <lime>%{_zabitych}% mobow zabitych!"
  127.  
  128. 43.
  129. set {wiadomosc} to 0
Advertisement
Add Comment
Please, Sign In to add comment