ID:180774
 
Anyone have a code for the invantory screen?
Thanks Shane
On 2/20/01 5:21 pm Shane wrote:
Anyone have a code for the invantory screen?
Thanks Shane

mob/Stat()
if(statpanel("Carrying"))
stat(contents)
In response to Guy T.
Thank You it works :)
On 2/20/01 5:21 pm Shane wrote:
Anyone have a code for the invantory screen?
Thanks Shane

This is pretty simple so I'll hand it right to you.

mob/Stat()
if (statpanel("Inventory")) stat("",usr.contents)

Here we make a statpanel called Inventory just by checking to see if it exists. Well, that's what it looks like we're checking. In this case we're really checking to see if the usr is looking at it. It will have 1 stat in it, with no name, so all we see is what's in usr.contents.

Z
In response to Zilal