//::///////////////////////////////////////////////
//:: FileName take_2000
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 11/30/2003 5:18:24 PM
//:://////////////////////////////////////////////
void main()
{

    // Remove some gold from the player
    object oPC = GetLastSpeaker();
    object oTarget = GetWaypointByTag("DaosDock");  //or whatever the tag is for your destination waypoint
    CreateItemOnObject("daosdockkey", oPC, 2);
    AssignCommand(oPC, JumpToObject(oTarget));
}