command /vchgive [] []: trigger: if arg-1 is "vip": if player has permission "vch.give.vip": if arg-2 is "7": add 1 paper named "&6&lVoucher na V.I.P'a na 7 dni" to player's inventory if arg-2 is "30": add 1 paper named "&6&lVoucher na V.I.P'a na 30 dni" to player's inventory if arg-2 is not set: add 1 paper named "&6&lVoucher na V.I.P'a do konca edycji" to player's inventory if arg-1 is "svip": if player has permission "vch.give.svip": if arg-2 is "7": add 1 paper named "&6&lVoucher na &5&lS&6&lV.I.P'a na 7 dni" to player's inventory if arg-2 is "30": add 1 paper named "&6&lVoucher na &5&lS&6&lV.I.P'a na 30 dni" to player's inventory if arg-2 is not set: add 1 paper named "&6&lVoucher na &5&lS&6&lV.I.P'a do konca edycji" to player's inventory on right click with paper: if name of player's tool is "&6&lVoucher na V.I.P'a na 7 dni": execute console command "lp user %player% parent addtemp vip 7d" if name of player's tool is "&6&lVoucher na V.I.P'a na 30 dni": execute console command "lp user %player% parent addtemp vip 30d" if name of player's tool is "&6&lVoucher na V.I.P'a do konca edycji": execute console command "lp user %player% parent set vip" if name of player's tool is "&5&lS&6&lV.I.P'a na 7 dni": execute console command "lp user %player% parent addtemp svip 7d" if name of player's tool is "&5&lS&6&lV.I.P'a na 7 dni": execute console command "lp user %player% parent addtemp svip 30d" if name of player's tool is "&5&lS&6&lV.I.P'a na 7 dni": execute console command "lp user %player% parent set svip"