on player armor change: if event-item contains "&bResistance I": apply resistance 3 to player for 99 days else if player's tool's lore doesn't contain "&bResistance I": if player has potion effect resistance: execute console command "effect clear %player% resistance"
So, in this example, you will get resistance 3 if you have the lore "&bResistance I" on your item
But, in this skript, it doesn't work , I believe is only because of event-item. Can someone help me with this?