#include "x0_i0_partywide" void main() { object oTarget; // Get the PC who is in this conversation. object oPC = GetPCSpeaker(); // Give 5 experience (to party) to the PC. GiveXPToAll(oPC, 5); // Close and lock "kels_chest". oTarget = GetObjectByTag("kels_chestxz"); AssignCommand(oTarget, ActionCloseDoor(oTarget)); SetLocked(oTarget, TRUE); // Give the speaker some gold GiveGoldToAll(oPC, 500); // Give the speaker the items CreateItemOnObject("nw_it_mpotion006", GetPCSpeaker(), 1); // Give the speaker the items CreateItemOnObject("nw_it_mpotion006", GetPCSpeaker(), 1); // Give the speaker the items CreateItemOnObject("nw_it_mpotion006", GetPCSpeaker(), 1); }