void main() { object oPC = GetEnteringObject(); object oTarget1; if (GetIsPC(oPC)) { if(GetIsObjectValid(GetItemPossessedBy(oPC, "RindraliFriend"))) { oTarget1 = GetObjectByTag("Rindrali"); AdjustReputation(oPC, oTarget1, 200); } } }