command /wd [] []: trigger: if player has permissions "S.Pasek": if arg 1 is set: if arg 2 is set: create timed bar with text "&6%coloured arg 1%" to all players for number-arg seconds if arg 2 is not set: create timed bar with text "&6%coloured arg 1%" to all players for 5 seconds else: send "&7Uzycie: &c/wd <&3text&c> <&3czas&c>" to player else: send "&cNie masz dostepu." command /wdtb [] []: trigger: if player has permissions "S.Pasek": if arg 1 is set: if arg 2 is set: create timed bar with text "&6%coloured arg 1%" to players for number-arg seconds else: send "&7Uzycie: &6/wd %coloured arg 1% " to player else: send "&7Uzycie: &6/wd &7" to player else: send "&cNie masz dostepu."