void main() { object oPC=GetPCLevellingUp(); if ((GetLevelByClass(CLASS_TYPE_BARD,oPC)>4)&&(!GetIsObjectValid(GetItemPossessedBy(oPC,"ah_songbird_call")))) { CreateItemOnObject("ah_songbird_call",oPC,1); SendMessageToPC(oPC,"You have acquired a tiny flute, which may be used to summon your familiar"); } }