Dark Age Games
Home Dark Age EX Dark Age 2 Message Board Fan Art FAQ Kelzar Mage DALpedia MS Forum
Board Index Dark Age General Bug Report Website Off Topic Register User Edit User User List Search

In reply to: Item Menu -- Tidus 01:16:54 12-08-2005

Hmmm...
Posted by: Xorlak
12:31:13 12-08-2005

You need to do something like this:

#if(i$="ENTER")
{
  #if(itemcount[count$]!>0)
  {
    ...
    * use item code here
    ...
  }
}


Check to see if there's more than 0 items.  If not, don't do anything.  That'll keep the negative item counts from occuring.

----------
-Xorlak
Edit Post