MiscObject Property SampleItem Auto Function PrintMessage() String s = SampleItem.GetName() Debug.MessageBox(s) EndFunction