that would be
void funcName (int amount, item it)
{
...
}
item is the variable type, and $item[...] is a built-in function that returns an item. Similarly for location, class, stat, skill, slot, zodiac, and maybe one or two others that I can't remember off the top of my head. Check out the ASH...