added parseprivmsg utility function

added hash plugini