string sSayThis;
int iTalkVolume = TALKVOLUME_TALK;
int iTalkFlag = 0;
#include "nw_i0_tool"

void main()
{
if((!HasItem(GetPCSpeaker(), "QWEST_32")) == FALSE){
    RewardPartyXP(3500, GetPCSpeaker());
    CreateItemOnObject("ddbelt001", GetPCSpeaker(), 1);
    object oItemToTake;
    oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "QWEST_32");
    if(GetIsObjectValid(oItemToTake) != 0)
        DestroyObject(oItemToTake);
        DestroyObject(oItemToTake);
        DestroyObject(oItemToTake);
    sSayThis = "Thanks.  Here.  This is a gift from the Mage Guild.";
    AssignCommand(OBJECT_SELF, ClearAllActions(TRUE));
    AssignCommand(OBJECT_SELF, ActionSpeakString(sSayThis, iTalkVolume));
    DelayCommand(2.0, ExecuteScript("quest_spawn", OBJECT_SELF));
    AdjustAlignment(GetPCSpeaker(), ALIGNMENT_NEUTRAL, 5);}

else {
   sSayThis = "Can I have the knife then?";
   AssignCommand(OBJECT_SELF, ClearAllActions(TRUE));
   AssignCommand(OBJECT_SELF, ActionSpeakString(sSayThis, iTalkVolume));}
}