Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {warn.%player%} = 0
- command /warn [<text>] [<text>]:
- permission: warn.admin
- trigger:
- if arg 1 is not set:
- message "&c/warn [Nick] [Punkty]"
- message "100 Punktow ostrzezen = BAN 30 DNI"
- if arg 1 is set:
- add argument 2 to {warn.%arg 1%}
- broadcast "&7[&4&lOSTRZEZENIE&7]&c %player% nadal %arg 1% %arg 2% punktow ostrzezenia"
- every 20 ticks:
- loop all players:
- if {warn.%loop-player%} is "100" or "101" or "102" or "103" or "104" or "105" or "106" or "107" or "108" or "109" or "110" or "111" or "112" or "113" or "114" or "115":
- execute console command "/tempban %loop-player% 30d"
- set {warn.%loop-player%} to 0
Advertisement
Add Comment
Please, Sign In to add comment