Welcome Zikara.
Just so you know, there's a bug with using $ITEMSTATE in scripting. Chances are it's never going to be fixed, I've been waiting a couple of years, so it's best not to make a story involving items at the moment (unless you plan on them being one use).
Welcome to the site, by the way.