if arg-1 is not set:
send "&cPoprawne użycie &7- &8/bcaseall <ilosc> <powod> "
send "&c* &8Podaj ilosc &c*"
stop
if arg-1 is set:
if arg-2 is not set:
send "&cPoprawne użycie &7- &8/bcaseall &b%arg-1% &8<powod> "
send "&c* &8Podaj powod &c*"
stop
if arg-1 is set:
if arg-2 is set:
loop all players:
execute console command "give %arg-1% %loop-player% chest"
Pytanie
Black004 0
Witam, powiem mój problem w skrócie.
kod mam taki:
command /bcaseall [<text>] [<text>]:
permission: premium.give
permission message: &4Odmowa dostepu
trigger:
if arg-1 is not set:
send "&cPoprawne użycie &7- &8/bcaseall <ilosc> <powod> "
send "&c* &8Podaj ilosc &c*"
stop
if arg-1 is set:
if arg-2 is not set:
send "&cPoprawne użycie &7- &8/bcaseall &b%arg-1% &8<powod> "
send "&c* &8Podaj powod &c*"
stop
if arg-1 is set:
if arg-2 is set:
loop all players:
execute console command "give %arg-1% %loop-player% chest"
broadcast "&8&l------------------------------------------"
broadcast "&3&lWszyscy dostali &c&l%arg-1% szt. &9&lPremiumCase &8za &3%arg-2%"
broadcast "&8&l------------------------------------------"
stop
I jak wpisuje tą komende to nie daje PremiumCase'ów
Jak to naprawić ?
Edytowane przez Black004Odnośnik do komentarza
Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi