I have no idea what you mean by "closing" colors, the mIRC scripting language treats those ctrl-k's just like other text.

However, { and } are only recognized when they are surrounded by spaces, and that's the case with the last one (and not the first one). So, either put 2 ctrl-b codes right before it or use $chr(125) instead

(edit: typo, tx Iori)

Last edited by Kelder; 06/06/04 09:52 PM.