Hii! So I am very new to skript and watched mitch-matched tutorials and got to this and everything seems fine but there is errors. I will highlight the errored line in red.
```command /opitems:
permission: op
permission message: "You can't do this, you cheeky bugger!"
trigger:
open virtual chest inventory with size 2 named "&4OP ITEMS" to player
format gui slot 2 of player with iron sword named "&2Weapons" with lore "&6OP Weapons" to run:
open virtual chest inventory with size 1 named "&4WEAPONS" to player
format gui slot 4 of player with diamond sword of sharpness 20, fire aspect 10 named "&4The &cDestroyer" to run:
give diamond sword of sharpness 20, fire aspect 10 named "&4The &cDestroyer" to player
close player's inventory
format gui slot 6 to player with iron chestplate named "&2Armor" with lore "&6OP Armor" to run:
open virtual chest inventory with size 1 named "&4ARMOR" to player
format gui slot 4 of player with leather leggings dyed pink of protection 50, thorns 10 named "&dPinkie Panties" to run:
give leather leggings dyed pink of protection 50, thorns 10 named "&dPinkie Panties" to player
close player's inventory
format gui slot 13 to player with barrier named "&2Close" to run:
close player's inventory```
Please help me!
```command /opitems:
permission: op
permission message: "You can't do this, you cheeky bugger!"
trigger:
open virtual chest inventory with size 2 named "&4OP ITEMS" to player
format gui slot 2 of player with iron sword named "&2Weapons" with lore "&6OP Weapons" to run:
open virtual chest inventory with size 1 named "&4WEAPONS" to player
format gui slot 4 of player with diamond sword of sharpness 20, fire aspect 10 named "&4The &cDestroyer" to run:
give diamond sword of sharpness 20, fire aspect 10 named "&4The &cDestroyer" to player
close player's inventory
format gui slot 6 to player with iron chestplate named "&2Armor" with lore "&6OP Armor" to run:
open virtual chest inventory with size 1 named "&4ARMOR" to player
format gui slot 4 of player with leather leggings dyed pink of protection 50, thorns 10 named "&dPinkie Panties" to run:
give leather leggings dyed pink of protection 50, thorns 10 named "&dPinkie Panties" to player
close player's inventory
format gui slot 13 to player with barrier named "&2Close" to run:
close player's inventory```
Please help me!