public override void OnDoubleClick(Mobile from)
{
if (m_Scrolls != 0 && m_Wax != 0)
{
ArrayList entries = this.Entries;
if (Entries == null)
Entries = new ArrayList();
from.CloseGump(typeof(AddressBookGump));
from.SendGump(new AddressBookGump(from, 0, entries, null, this));
}
else if (m_Scrolls <= 1)
{
m_Scrolls = 0;
from.SendMessage("This book has no more writing paper in it. Add another scroll.");
}
else if (m_Wax <= 1)
{
m_Wax = 0;
from.SendMessage("This book has no more wax in it. Add another block of sealing wax.");
}
}