command /dzialka [<text>] [<text>]:
trigger:
if arg 1 is "dom":
execute player command "ps home"
else if arg 1 is "polacz":
execute player command "ps merge"
else if arg 1 is "sprzedaj":
if arg 2 is set:
execute player command "ps sell %argument 2%"
else:
execute player command "ps sell"
else if arg 1 is "dodaj":
execute player command "ps add"
else if arg 1 is "wyrzuc":
execute player command "ps remove"
else if arg 1 is "wlasciciel":
execute player command "ps addowner"
else if arg 1 is "usunwlasciciel":
execute player command "ps removeowner"
else if arg 1 is "wynajem":
execute player command "ps rent"
else if arg 1 is "kup":
execute player command "ps buy"
else if arg 1 is "ukryj":
execute player command "ps hide"
else if arg 1 is "pokaz":
execute player command "ps unhide"
else if arg 1 is "ustawdom":
execute player command "ps sethome"
else if arg 1 is "granica":
execute player command "ps view"
else if arg 1 is "usun":
execute player command "ps unclaim"
else if arg 1 is "lista":
execute player command "ps list"
else if arg 1 is "nazwa":
if arg 2 is set:
execute player command "ps name %argument 2%"
else:
execute player command "ps name"
else:
execute player command "ps help"