Jump to content

Need help with an item command


Tewca

Recommended Posts

I'm trying to make a command in which you get an item from a command. If someone could fix I would be grateful

Line 7 is where the error is from, "Can't understand this condition/effect"

command /item [<player>] [<text>]:
	permission: item.use
	trigger:
		if arg-1 is set:
			if arg-2 is set:
				if arg-1 is "wood":
					give %player% 1 wood planks named "&eWood" with lore "&9Item Type: &7Resource"

 

Link to comment
Share on other sites

2 hours ago, Tewca said:

I'm trying to make a command in which you get an item from a command. If someone could fix I would be grateful

Line 7 is where the error is from, "Can't understand this condition/effect"

command /item [<player>] [<text>]:
	permission: item.use
	trigger:
		if arg-1 is set:
			if arg-2 is set:
				if arg-1 is "wood":
					give %player% 1 wood planks named "&eWood" with lore "&9Item Type: &7Resource"

 

The "%%" isnt needed

command /item [<player>] [<text>]:
	permission: item.use
	trigger:
		if arg-1 is set:
			if arg-2 is set:
				if arg-1 is "wood":
					give player 1 wood planks named "&eWood" with lore "&9Item Type: &7Resource"

 

  • Like 1
I used to play Minehut I guess?
Yeah, I still watch the forums for some reason. (15/5/2023)
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...