Complex sentence: The leper would carry a clapper and bell to warn of his approach, and this was as much to attract attention for charity as to warn people that a diseased person was near.
Split into simpler sentences: The leper would carry a clapper and bell to warn of his approach. This was as much to attract attention for charity as to warn people that a diseased person was near.