bone282 commented on a Page, PHP IRC Bot v2  -  Apr 19, 2009

I also noticed a problem with mIRC colours in unicode. If a sentence starts with a number, the first number of that sentence is incorporated in the unicode. thus, resulting in a normal coloured sentence with the first char missing.

But after some exploring i discovered "chr(3) is the mIRC equivalent on CTRL+K".
Just prefix any mIRC colour with a value < 10 with a zero to prevent the same crap happening
chr(3).'08,04hello'; <-- yellow foreground and red background.
chr(3).'14blah blah'; <-- gray text..

Hope it helps someone.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.