Advertisement
buss2

dban

Oct 23rd, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. options:
  2. strona: Tu pisz strone
  3.  
  4. on death:
  5. if player don't have permission "nodeathban":
  6. set {dpban.%victim%} to 10
  7. send "&cUmarles, masz 10 sekund na porzegnanie sie!" to victim
  8. loop {dpban.%victim%} times:
  9. remove 1 from {dpban.%victim%}
  10. wait 1 second
  11. if {dpban.%victim%} is 0:
  12. add 10 hour to {dban.%victim%}
  13. kick player due "&2Umarles%nl%Mozesz sie odbanowac na {@strona}"
  14.  
  15. on join:
  16. if difference between now and {dban.%player%} is more or equal to 0:
  17. kick player due "&2Umarles%nl%Mozesz sie odbanowac na {@strona}"
  18. cancel event
  19. else:
  20. if {dban.%arg 1%} is set:
  21. clear {dban.%arg 1%}
  22.  
  23. command /uban [<player>]:
  24. trigger:
  25. if player has permission "ubdeath":
  26. if {dban.%arg 1%} is set:
  27. clear {dban.%arg 1%}
  28. send "&2Odbanowales %arg 1%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement