public override void OnDoubleClick(Mobile from) { Title = "Accounts"; Author = from.Name; ClearPages(); ArrayList al = new ArrayList(ResourcePool.Resources.Values); al.Sort(); for (int i = 0; i < al.Count; i++) { if (al[i] is RDRedirect) { continue; } ResourceData rd = al[i] as ResourceData; string inv = rd.DescribeInvestment(from); AddLine(rd.Name + ":"); AddLine(inv); if (Pages[Pages.Length - 1].Lines.Length < 8) { AddLine(""); } } string ttemp = ResourceLogger.GetHistory(from); string[] history = ttemp.Split(new char[] { '\n' }); string line; foreach (string trans in history) { if (trans == "") { continue; } string[] tlines = trans.Split(new char[] { ' ' }); line = ""; foreach (string t in tlines) { if ((line.Length + t.Length + 1) <= 20) { line += t + " "; } else { AddLine(line); line = t + " "; } } AddLine(line); AddLine(""); } base.OnDoubleClick(from); }