ID:155754
 
I have read the reference for the contents list variable and I dont understand it properly. If someone could explain to me how it is used, I would be greatful.

I'm assuming this can be used for inventory etc.
mob/Stat()
statpanel("Inventory",contents) // that displays ur contents

obj/Sword
icon='sword.dmi' // your sword icon
verb/PickUp() // a verb to pick up
set src in oview(1)
src.loc = usr // that puts sword in your contents