Don't use a long list of if-elseif statements in msgHandle. Use Classes instead.
See http://antiifcampaign.com/.