string sDeny; /* Script generated by Lilac Soul's NWN Script Generator, v. 1.5 For download info, please visit: http://www.lilacsoul.revility.com */ //Put this OnUsed void main() { object oPC = GetLastUsedBy(); if (!GetIsPC(oPC)) return; if (!(GetHitDice(oPC) >= 30)) { sDeny="You are not of the Epic level of 30, you cannot pass beyond this point. DO not push through the wall, a trigger on the other side will check your level and send you to jail."; SendMessageToPC(oPC, sDeny); return; } }