#print money skript doesnt work help

1 messages · Page 1 of 1 (latest)

coarse lily
#

command /print <text> <text>: if arg-1 is "money": execute print "$%arg-2%" if print is true: give player $-arg2 send "&a&lYou have successfully printed $%arg-2%"

im getting errors on line 5 and 6 but i cant find out why

coarse lily
#

print money

coarse lily
#

like print money

#

and deliver it to my house

coarse lily
#

noo

#

but in minecraft

#

like it prints money

#

then it goes to the coordinates of my minecraft base

burnt sorrel
#
    if arg-1 is "money":
        broadcast "$%arg-2%"
        if arg-2 is set:
            give player 1 of paper named "&f$%arg-2%"
            send "&a&lYou have successfully printed $%arg-2%"```