void main() { object oItem=GetItemActivated(); object oUser=GetItemActivator(); location lLoc=GetItemActivatedTargetLocation(); string sTag=GetTag(oItem); if(sTag=="kpbwand") { if (GetIsDM(oUser) == TRUE) { AssignCommand(oUser, ActionStartConversation(oUser, "kpb_wand", TRUE)); } else { DestroyObject(oItem); SendMessageToPC(oUser, "I am not an immortal, and I cannot use that item!"); } } }