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