As we mentioned the code could be reworked a bit, but it does it's job :P
I changed a bit htm design and added name of item, so now it looks like that:
Anyway, thanks for share, another file to trash my HDD :troll:
Also, I think that 'else' in your code is useless, since who care if he got 'legs' or any other item or not. Only show what he got is necessary :P