object oDeny; /* Script generated by Lilac Soul's NWN Script Generator, v. 2.1 For download info, please visit: http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */ //Put this OnUsed void main() { object oPC = GetLastUsedBy(); if (!GetIsPC(oPC)) return; if (GetHitDice(oPC) > 15) { oDeny = GetWaypointByTag("tp_flamedeep"); AssignCommand(oPC, JumpToObject(oDeny)); return; } FloatingTextStringOnCreature("You do not yet have the power to activate the portal.", oPC); }