If you do not know python its really hard to modify it
you need for give item:
Code:
net.SendGiveItemPacket(itemVNum, player.GetTargetVID(), 1)
you have to indent the def function "InstallQuestWindowHook" and install the hook in the __init__ of your python file.