Hello! Scripting questions? This should probably go in the advanced editor forum. @Sethaniel @BerkaZerka
If you're asking for help, I'm assuming you read both 3J's guide to the advanced editor and solostrike's working with items guide? If not, they should give you a good start on working with items.
I notice you just became a member today? First, welcome to CYS (assuming you're not an alt of someone else, haha), and secondly, my advice is to get more familiar with the advanced editor before trying to make a customized inventory.