IESDP is still up on the GemRB mirror, and has all of these kinds of things;
http://gemrb.org/iesdp/scripting/actions/bg2actions.htmFor BG2,
163 ReputationInc(I:Reputation*)
This action alters the reputation by the specified value (which can be either negative or positive). The example script is from baldur.bcs.
IF
InParty("Viconia")
Global("ViconiaJoinedParty","GLOBAL",0)
THEN
RESPONSE #100
ReputationInc(-2)
SetGlobal("ViconiaJoinedParty","GLOBAL",1)
END
in BG1NPC code ,
IF ~~ THEN X#T1MB13.1
SAY @124
++ @116 + X#Troubador1NoCoin
+ ~PartyGoldGT(299)~ + @117 DO ~TakePartyGold(300) DestroyGold(300) ReputationInc(-1)~ + X#Troubador1Final
END
subtracts 1