void main()
{
    object oPC = GetPCSpeaker();
    // Remove items from the player's inventory
    object oItemToTake;
    oItemToTake = GetItemPossessedBy(oPC, "Agear");
    if(GetIsObjectValid(oItemToTake) != 0)
    ActionTakeItem(oItemToTake, oPC);
    SetLocalInt(GetPCSpeaker(), "GAVE_GEAR", 1);
    GiveXPToCreature(GetPCSpeaker(), 100);
}
