public static void Main() { var dm = NWGameObject.OBJECT_SELF; var trap = NWNXEvents.OnDMDisableTrap_GetTrap(); var trapName = GetName(trap); WriteLog(dm, "Disable Trap", trapName); }