Contrary to being no way, there is a very, very ugly way to do it. I'm pretty sure. I thought of it long ago, forgot it, wondered what it was because I wanted to make it work, remembered, remembered how ugly and the instances in which it works... *sigh*
It's ugly.
Anyway, in script, $len will return the length of a range of characters. It will even include multiple spaces. so, if you had $1 == ugly, $2 == ugly, $3 == method, with THREE spaces between each parameter, $len($1-2) would be equal to 11. Yes, 11. There's 4 chars in ugly, 3 spaces, and 4 ugly.
Using this method, you could then:
var %paramlen = $len($ [ $+ [ %counter ] ] [ $+ - ] [ $+ [ %counter + 1] ])
if (%paramlen > $calc($len($1) + $len($2) + 1)) {
echo $1$+ $str($chr(32) $+ $chr(3) $+ $2
}
.. I think that's right. %counter loops through all the parameters. So, I believe the effect of the len combination is basically: $len($1-2), $len($2-3), etc. until complete (I'm bad with how mirc handles combinations of values to create variable names -- but I believe the method I used here works). The if statement compares to see if there's greater than one space. If it is, create a space + color character combo, in order to get what seems to be multiple spaces. It'll be for the space equal to what was originally there.
Gotcha's:
This'll only work on parameters. You can't go $len(word<space><space>word) or it'll only give you one space. This also won't work for sending text over the link to others. Well, it will, but your max message length will be cut down by one for every space you have (.. pretty much), and most will lynch you for giving them such uglyness.
Also note that I just thought of this one day, I believe when I saw $len give an odd length on some input event, and have NOT tried this. Use at your own risk, and note that you may be wasting your time.
-DrkShadow