so well i made this
on walking on magenta stained glass:
if player's inventory contains diamond helmet or netherite helmet:
if player's inventory contains diamond chestplate or netherite chestplate:
if player's inventory contains diamond leggings or netherite leggings:
if player's inventory contains diamond boots or netherite boots:
if player's inventory contains an item that lore contain "smth random":
teleport player at location(-49.606,73,-99.545, world("planet_mining"))
else:
send "&cYou do not the proper gear!"
push player backwards with speed 15
push player up with speed 5
else:
send "&cYou do not have the proper gear!"
push player backwards with speed 15
push player up with speed 5
else:
send "&cYou do not have the proper gear!"
push player backwards with speed 15
push player up with speed 5
else:
send "&cYou do not have the proper gear!"
push player backwards with speed 15
push player up with speed 5
so i want to check that if player has an item in his inventory that his lore contains a "certain thing" in line 5 please help