Well, I came back to this question a little later, and saw that it changed. I'm not really sure what you mean by 'equipped'. Is it to set something programmatically? To actually have your item appear on screen?
Isn't equipping something basically the same as changing a variable...
var item_equipped = "Magic Ring"
And creating something on screen based on that?
#show item_equipped on screen?