command /buyrank [<text>]:
permission: Dawido.buyrank
permission message: &4&lNie masz dostepu do tej komendy! &7(&7Dawido.buyrank)
trigger:
if player has permission "Dawido.test":
send "{@tag}&c Już zakupiłeś ten przedmiot!" to player
stop
else if player has not permission "Dawido.test":
arg 1 is not set:
send " &4&lERROR ---> &c&lNie Wpisałeś Tajnej Liczby!"
if arg 1 is "1":
execute console command "is %player% VIP"
#send "&7[&6&lSKLEP&7] &e&lDziękujemy %player% za Zakup Rangi VIP!" to all players
if arg 1 is "2":
execute console command "is %player% SVIP"
#send "&7[&6&lSKLEP&7] &e&lDziękujemy %arg 1% za Zakup Rangi SVIP!" to all players
if arg 1 is "3":
execute console command "is %player% MVIP"
#send "&7[&6&lSKLEP&7] &e&lDziękujemy %arg 1% za Zakup Rangi MVIP!" to all players
if arg 1 is "4":
execute console command "is %player% BUTTER"
#send "&7[&6&lSKLEP&7] &e&lDziękujemy %arg 1% za Zakup Rangi BUTTER!" to all players
Po każdym ifie musi być tab więcej w następnej linijce