void main() { object oPC=GetEnteringObject(); if (GetIsPC(oPC)==TRUE&&GetLocalInt(oPC,"nIsVampire")!=TRUE) { ExecuteScript("player_vampire",oPC); } }