long count = wordList.length > 3 ? Long.parseLong(wordList[3]) : 1;
for(int i = 0; i < num; i++)
{
L2ItemInstance createditem = ItemTable.getInstance().createItem(id);
createditem.setCount(count);
createditem.dropToTheGround(activeChar, Rnd.coordsRandomize(activeChar, 100));
}
}
catch(NumberFormatException nfe)
{
activeChar.sendMessage("Specify a valid number.");