When you drop an item, how can you trigger something? OnThrow doesn't do anything, it seems...
function servercmdDropTool(%client,%slot)
{
if(!isObject(%client.player.tool[%slot])) return;
if(%client.player.tool[%slot].getName() $= "itemname")
{
messageall('',"Message");
}
}
That's the closest I've got, but as you can see, it doesn't actually drop the item. Is there no other choice but to manually find out what happens when you drop an item and slap it in? (Yes, this was in a package).