void main() { object oPC = GetEnteringObject(); object oTarget = GetWaypointByTag("nasgarthport"); location lTarget = GetLocation(oTarget); if (GetItemPossessedBy(oPC, "NasGarthStone")!= OBJECT_INVALID && GetHitDice(oPC)>=18) { AssignCommand(oPC, ClearAllActions()); DelayCommand(2.0, AssignCommand(oPC, ActionJumpToLocation(lTarget))); ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_DEATH_WARD),lTarget); } else { string sDeny="You must possess an NasGarth Stone and be 18th level to use this portal"; SendMessageToPC(oPC, sDeny); } }