void main() { object oPC=GetEnteringObject(); object oTrigger=OBJECT_SELF; int nHint=GetLocalInt(oTrigger,"nHint"); if (nHint==0) { // hint 1 if (GetLocalInt(oPC,"bReadPrivateBook")) { // book read if (GetLocalInt(GetModule(),"nEvilWizard")==0) { // word has not been spoken FloatingTextStringOnCreature("** Something you read about an imprisoned person seems to tickle your mind. It seems like a word to speak, or a name. You do not know what it causing this. **",oPC,FALSE); } // word has not been spoken } // book read } // hint 1 else if (nHint==1) { // hint 2 if (GetLocalInt(oPC,"bReadPrivateBook")) { // book read if (GetLocalInt(GetModule(),"nEvilWizard")==0) { // word has not been spoken FloatingTextStringOnCreature("** A voice in the back of your mind says you are forgetting someting upstairs. **",oPC,FALSE); } // word has not been spoken } // book read } // hint 2 }