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