void main()
{
  object oPC = GetEnteringObject();
  int nFirstTime = GetLocalInt(oPC,"FirstTime");
  if ((nFirstTime == 0) && (GetIsPC(oPC) == TRUE))
  {
    // Create a loincloth and force the PC to equip it
    object oLoincloth = CreateObject(OBJECT_TYPE_ITEM,"loincloth",GetLocation(oPC));
    AssignCommand(oPC,ActionPickUpItem(oLoincloth));
    AssignCommand(oPC,ActionEquipItem(oLoincloth,INVENTORY_SLOT_CHEST));
    AddJournalQuestEntry("slavertrap",10,oPC);
    AddJournalQuestEntry("dungeon",10,oPC);
    // Remove any henchmen and replace them with naked ones
    object oHench = GetHenchman(oPC);
    if (GetIsObjectValid(oHench))
    {
      string sHenchname = GetTag(oHench);
      string sNewName = sHenchname + "_nak";
      RemoveHenchman(oPC,oHench);
      DestroyObject(oHench);
      object oNewHench = CreateObject(OBJECT_TYPE_CREATURE,sNewName,GetLocation(oPC));
      AddHenchman(oPC,oNewHench);
    }
  }
  SetLocalInt(oPC,"FirstTime",1);
}
