// Set up Custom Token for Enchanted Anivl/Holy Altar int StartingConditional() { object oPC = GetPCSpeaker(); int iResult = FALSE; string sTag = GetTag(OBJECT_SELF); if (sTag=="ASG_ENANVIL") { SetCustomToken(1970001,"Enchanted Anvil"); int iSor = GetLevelByClass(CLASS_TYPE_SORCERER,oPC); int iWiz = GetLevelByClass(CLASS_TYPE_WIZARD,oPC); if (iSor>0 || iWiz>0) iResult = TRUE; } else { SetCustomToken(1970001,"Holy Altar"); int iClr = GetLevelByClass(CLASS_TYPE_CLERIC,oPC); int iDrd = GetLevelByClass(CLASS_TYPE_DRUID,oPC); if (iClr>0 || iDrd>0) iResult = TRUE; } return iResult; }