Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {vip.status} = 1
- options:
- # 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
- ilosc.graczy: 1
- # Podaj ilosc slotow ktora ustawiles wyrzej.
- rezerwowe.sloty: 5
- tag: &8[&eReservedSlots&8]
- permission: &4Nie masz uprawnien by uzywac tej komendy!
- on connect:
- {vip.status} is 1:
- player doesn't have permission "VIP"
- number of players is larger than {@ilosc.graczy}
- kick the player due to "{@tag} &7Ostatnie &6{@rezerwowe.sloty} &7slotow jest zarezerwowane dla &6VIP'ow"
- stop
- command /vip [<text>]:
- trigger:
- if player has permission "vip.admin":
- if arg 1 is "on":
- set {vip.status} to 1
- send "{@tag} &7Rezerwacka &awlaczona"
- stop
- if arg 1 is "off":
- set {vip.status} to 0
- send "{@tag} &7Rezerwacja &cwylaczona"
- stop
- else:
- send "{@tag} &e/vip &8<&fon/off&8>"
- stop
- else:
- send "{@tag} {@permission}"
- stop
Advertisement
Add Comment
Please, Sign In to add comment