// Take strong mana crystal and make PC a member
void main()
{
  object oItem=GetItemPossessedBy(GetPCSpeaker(),"MANA_CRYSTAL_5");
  object oChest=GetObjectByTag("MG_CHEST");
  SetLocalInt(GetPCSpeaker(),"nMGMember",2);
  DestroyObject(oItem);
  oItem=CreateItemOnObject("mana_crystal_5",oChest,1);
  oChest=CreateItemOnObject("privatelibraryke",GetPCSpeaker());
}