When typing in a RTL language like Arabic, Persian or Hebrew, when the RTL text is combined with non-RTL symbols like commas, periods, parenthesis, etc, the structure of the text breaks and the text no longer appears in correct order.
An example how looks in mIRC:
An example of how it should look and how it looks in other IRC clients: