Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /wl [<text>] [<text>]:
- trigger:
- if player has permission "wl":
- if arg 1 is "on":
- if arg 2 is set:
- if {wl} is false:
- set {wl} to true
- set {powod.wl} to arg 2
- send "&4 Wlaczyles whitelist z powodu: &a %arg 2%"
- loop all players:
- if loop-players don't have permission "wl":
- kick loop-player due to "%arg 2%"
- else:
- send "&4Whitelist jest wlaczona"
- if arg 2 is not set:
- if {wl} is false:
- set {wl} to true
- set {powod.wl} to "Przerwa techniczna"
- send "&4 Wlaczyles whitelist bez powodu"
- loop all players:
- if loop-players don't have permission "wl":
- kick loop-player due to "Przerwa techniczna"
- else:
- send "&4Whitelist jest wlaczona"
- if arg 1 is "off":
- if {wl} is true:
- set {wl} to false
- clear {powod.wl}
- send "&b Wylaczyles whitelist"
- else:
- send "&4whitelist jest wylaczona"
- on join:
- wait 5 tick
- if {wl} is true:
- if player don't have permission "wl":
- kick player due to "%{powod.wl}%"
Advertisement
Add Comment
Please, Sign In to add comment