void main() { object oPC = GetEnteringObject(); if (GetIsPC(oPC) && !GetIsDM(oPC)){ SendMessageToPC(oPC,"You have exceeded the inventory limit, and may not leave this area untill you have lowered your inventory count."); } }