boleknowak

cItem

Apr 18th, 2014
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.50 KB | None | 0 0
  1. options:
  2.     tag: &7[&ccItem&r&7]
  3.     minuty: 1
  4. command /citem:
  5.     trigger:
  6.         if player has permission "cItem.use":
  7.             broadcast "{@tag} &aZa &c{@minuty} &aminute rozpoczne sprzatanie serwera!"
  8.             wait {@minuty} minutes
  9.             broadcast "{@tag} &aUsuwanie..."
  10.             wait 1 seconds
  11.             execute console command "stoplag"
  12.             wait 1 tick
  13.             execute console command "stoplag -c"
  14.             broadcast "{@tag} &aWszystkie itemy ktore lezaly na ziemi zostaly usuniete!"
  15.         else:
  16.             send "{@tag} &cNie masz do tego uprawnien!"
Advertisement
Add Comment
Please, Sign In to add comment