THE_RANSER Posted March 5 Share Posted March 5 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 Link to comment Share on other sites More sharing options...
THE_RANSER Posted March 5 Author Share Posted March 5 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 More sharing options...
ApexSplat Posted March 5 Share Posted March 5 well argument 1 isn't an item type as it is a string so it can't be repaired. just parse argument 1 as an item type Discord: Dead#6905 Love anime! Link to comment Share on other sites More sharing options...
THE_RANSER Posted March 6 Author Share Posted March 6 On 3/5/2023 at 3:34 AM, ApexSplat said: well argument 1 isn't an item type as it is a string so it can't be repaired. just parse argument 1 as an item type Can you give me an example? Link to comment Share on other sites More sharing options...
ApexSplat Posted March 6 Share Posted March 6 arg 1 parsed as item type Discord: Dead#6905 Love anime! Link to comment Share on other sites More sharing options...
THE_RANSER Posted March 6 Author Share Posted March 6 1 hour ago, ApexSplat said: arg 1 parsed as item type I'm really bad at skript and have never used a parse... can you tell me where to put it in my code? Link to comment Share on other sites More sharing options...
ApexSplat Posted March 8 Share Posted March 8 repair (arg 2 parsed as item type) of arg 1 by arg 3 Discord: Dead#6905 Love anime! Link to comment Share on other sites More sharing options...
THE_RANSER Posted March 8 Author Share Posted March 8 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 More sharing options...
ApexSplat Posted March 8 Share Posted March 8 why not just make it repair the player's held item? Discord: Dead#6905 Love anime! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now