updated privmsg function to return all pm results to sender