Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every 1 minute:
- loop {waiting::*}:
- if {waiting::%loop-value%} is bigger than 0 days:
- subtract 1 from {waiting::%loop-value%}
- if {waiting::%loop-value%} is 0:
- set {ban.%loop-value%} to false
- on join:
- if {ban.%player%} is true:
- set join message to ""
- wait 3 tick
- kick player due to "Umarles! Masz bana na %{waiting::%player%}% Minut."
- command /odbanuj [<offlineplayer>]:
- trigger:
- if player has permissions "ban.admin":
- if arg 1 is set:
- if {ban.%arg 1%} is false:
- send "&cGrasz nie umarl!"
- else:
- remove argument-offlineplayer from {lista::*}
- remove 1 from {bany}
- set {ban.%argument 1%} to false
- remove offlineplayer from {lista::*}
- else:
- send "&cPrzyklad: /unban <nick>"
- remove offlineplayer from {lista::*}
- on death of player:
- if player has permission "ban.true":
- add player to {waiting::*}
- set {ban.%player%} to true
- set {waiting::%player%} to 2
- kick player due to "Umarles! Masz bana na %{waiting::%player%}% Minut."
Advertisement
Add Comment
Please, Sign In to add comment