//////////////////////////////////////////////////////////////////////////////// // // Allegiance System // opw_speak_allege // By Don Anderson // dandersonru@msn.com // // Check the Player's Allegiance through the Rest Menu. // //////////////////////////////////////////////////////////////////////////////// void main() { object oPC = GetPCSpeaker(); int nAllege = GetLocalInt(oPC,"FACTION"); if(nAllege == 1){ SpeakString("I am allied with the Good People of the World."); return; } else if(nAllege == 2){ SpeakString("I am allied with the Evil People of the World."); return; } else { SendMessageToPC(oPC,"I need allegiance. Even if it means to myself!!"); return; } }