command /rozdaj [] [] []: permission: voucher.daj permission message: &cBrak uprawnien! trigger: if arg 1 is "daj" or "nadaj": if arg 1 is "daj": set {_i} to player's tool set {_name} to name of player's tool set {_lore} to lore of player's tool remove {_i} from player send "&6Za 5 sekund zostanie wylosowany gracz ktory otrzyma voucher!" wait 2 second send "&63" wait 1 second send "&62" wait 1 second send "&61!!!" wait 1 second set {_player} to "%random player out of all players%" parsed as offlineplayer add {_i} named "%{_name}%" with lore "%{_lore}%" to {_player} send "&6Gracz %{_player}% otrzymal voucher!" if arg 1 is "stworz": if arg 3 is set: if arg 2 is "lore": set lore of player's tool to "%colored arg 3%" send "&6Nadales lore: &f%colored arg 3%" if arg 2 is "name" or "nazwa" or "named": set name of player's tool to "%colored arg 3%" send "&6Nadales nazwe: &f%colored arg 3%" else: send "&6Podaj nazwe / lore przedmiotu!" else: send "&6/rozdaj daj &f- daje losowemu graczowi" send "&6/rozdaj nadaj nazwa &f- nadaje nazwe itemu trzymanego w lapce" send "&6/rozdaj nadaj lore &f- nadaje lore trzymanemu itemu w lapce"