So here's the problem with that. The scripts are tied to the quest scripts which are compiled into the main exe. Those are offlimits to most people. So when you attach a script to something your calling the quest.
Now concept-wise:
I 'think' the donation stuff is tied to these markers maybe?
NewThing Marker;
Player -1;
UID 18446741874686298213;
DefinitionType "MARKER_BASIC";
ScriptName TOL_PrayerPoint;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 11.839111;
PositionY 18.645752;
PositionZ 88.120308;
RHSetForwardX 0.0;
RHSetForwardY 0.999994;
RHSetForwardZ 0.0;
RHSetUpX 0.0;
RHSetUpY 0.0;
RHSetUpZ 0.999994;
EndCTCPhysicsStandard;
StartCTCEditor;
EndCTCEditor;
Health 1.0;
EndThing;
The important bit being ScriptName TOL_PrayerPoint
These things in the game.bin allow you to specify an attached script:
#definition CREATURE CREATURE_OAKVALE_VILLAGER_MALE_SHOPKEEPER
DefaultScriptName "TC_Villager";
#definition EXPRESSION EXPRESSION_PICKPOCKET
ScriptName "Expression_Pickpocket";
#definition OBJECT OBJECT_GUILD_SEAL_1
<CActivateQuestDef>
ScriptName "Global_TeleportToHeroGuild";
LoadResources FALSE;
<\CActivateQuestDef>
'IF' it works, it should only bring up the donation menu.