so hmm you want to make a parallel process event, that look like:
if button C is pressed then
-add armor: +accessory item (it's in the armors button for some reason)
-change equips(hero X): accessory= accessory item
else
-change equips(hero X): accessory= none
-remove armor: -accessory item
(which you can of course pass the item adding if you already have the accessory and pass the unequpping too..)
but instead of doing it you want a script?
ok!
then have fun waiting :^^: