Tile Entity Attributes
onItemSmelted
This attribute defines the script that is executed after an item was smelted. The itemstack object is the stack in the result slot of the furnace.
Examples
onItemSmelted = "world.sendMessageToAllPlayer('Smelted an item!');";