long count = wordList.length > 3 ? Long.parseLong(wordList[3]) : 1;
for (int i = 0; i < num; i++)
{
ItemInstance createditem = ItemFunctions.createItem(id);
createditem.setCount(count);
createditem.dropMe(activeChar, Location.findPointToStay(activeChar, 100));
}
}
catch (NumberFormatException nfe)
{
activeChar.sendMessage("Specify a valid number.");