Guest User

ReservedSlots

a guest
Feb 19th, 2014
438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. variables:
  2. {vip.status} = 1
  3. options:
  4. # Podaj ilosc graczy na serwerze nie zapomnij odjac rezerwowe sloty. Czyli jezeli masz serwer 30 slot to musisz odjac rezerwowe sloty np 5 czyli tytaj wpisz 25 slot
  5. ilosc.graczy: 1
  6. # Podaj ilosc slotow ktora ustawiles wyrzej.
  7. rezerwowe.sloty: 5
  8. tag: &8[&eReservedSlots&8]
  9. permission: &4Nie masz uprawnien by uzywac tej komendy!
  10. on connect:
  11. {vip.status} is 1:
  12. player doesn't have permission "VIP"
  13. number of players is larger than {@ilosc.graczy}
  14. kick the player due to "{@tag} &7Ostatnie &6{@rezerwowe.sloty} &7slotow jest zarezerwowane dla &6VIP'ow"
  15. stop
  16.  
  17. command /vip [<text>]:
  18. trigger:
  19. if player has permission "vip.admin":
  20. if arg 1 is "on":
  21. set {vip.status} to 1
  22. send "{@tag} &7Rezerwacka &awlaczona"
  23. stop
  24. if arg 1 is "off":
  25. set {vip.status} to 0
  26. send "{@tag} &7Rezerwacja &cwylaczona"
  27. stop
  28. else:
  29. send "{@tag} &e/vip &8<&fon/off&8>"
  30. stop
  31. else:
  32. send "{@tag} {@permission}"
  33. stop
Advertisement
Add Comment
Please, Sign In to add comment