Jump to content

What is wrong with this skript?


THE_RANSER

Recommended Posts

1 minute ago, THE_RANSER said:

command /repair [<player>] [<string>] [<number>]:
    permission: op
    trigger:
        repair arg-2 of arg-1 by arg-3
        send "Repaired %arg-1%'s %arg-2% by %arg-3%" to player

IDK what's wrong

it gives me this error: the 1st argument is neither an item stack, an item type nor an entity type

Link to comment
Share on other sites

2 hours ago, ApexSplat said:
repair (arg 2 parsed as item type) of arg 1 by arg 3

 

command /repair [<player>] [<string>] [<number>]:
    permission: op
    trigger:
        repair (arg 2 parsed as item type) of arg 1 by arg 3
        send "Repaired %arg-1%'s %arg-2% by %arg-3%" to player

it still has the same error: the 1st argument is neither an item stack, an item type nor an entity type

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...