I am almost COMPLETELY new to scripting and I am unsure on how to create custom inventories, if would like to explain this to me, that would be great.

PS. Giving me bits of code to go off of would be great too!