void main() { object oPC = GetPCSpeaker(); int hd = GetHitDice(oPC); int cost = hd * 150; TakeGoldFromCreature(cost, oPC, TRUE); }