Scriptname JTTestScript001 extends ObjectReference{Please work...}import Debugint GoldOreCountint GoldBarCountObjectReference Property JTTestKeyword001 AutoMiscObject Property OreGold AutoMiscObject Property IngotGold AutoEvent OnActivate(ObjectReference akActionRef)if akActionRef == Game.GetPlayer() GoldOreCount = (JTTestKeyword001.GetItemCount(OreGold)) debug.Notification(GoldOreCount) if GoldOreCount > 2 SmeltGold() endifendifEndEventFunction SmeltGold()GoldBarCount = GoldOreCount/2JTTestKeyword001.AddItem(IngotGold, GoldBarCount, true)JTTestKeyword001.RemoveItem(OreGold, GoldOreCount, true)EndFunction