//:: FileName pay3000 // PC pays 3000 gp to NPC void main() { // Remove some gold from the player TakeGoldFromCreature(3000, GetPCSpeaker(), TRUE); }