Could someone enlighten me as to why this verb lists the items in src's inventory?
are the items mobs, or objects?
You never initialized the players list. That means you also need to check if(!players.len) instead of if(!players), which is not the same thing.

Lummox JR
In response to Lummox JR (#2)
...I knew that.

I should kidnap you and Crispy and make you debug my coding all day.
In response to Enigmaster2002 (#3)

And the other thing you should do is - well, actually it's more something you *shouldn't* do. =) And that's erase the content of your posts, because they might help someone doing a forum search in the future. No matter how embarassing it is! We understand, we were all newbies once - just as long as you learn from your mistakes.