I dunno if this has ever been asked, but I'm one for editing the on text events that happen in the channel and query.
Problem is, as I've noticed before, it doesn't tend to keep more than one space.
For example, on here. It doesn't keep the 2/4/6 space indent when we're pasting code.
It doesn't do that on text events either.
Instead of:
Code:
<Davey> alias test {
<Davey>   if ($1 == $null) {
<Davey>     return [Error]: Missing parameter.
<Davey>   }
<Davey>   else {
<Davey>     return $1
<Davey>   }
<Davey> }

It comes out as:
Code:
<Davey> alias test {
<Davey> if ($1 == $null) {
<Davey> return [Error]: Missing parameter.
<Davey> }
<Davey> else {
<Davey> return $1
<Davey> }
<Davey> }

It misses the spaces. I want the custom on text event to keep the spaces. How would I go about this?
If I'm not making any sense I'll try to explain it again later.

Dave.

PS: If you know what I'm going on about and wondered how I kept the spaces above without them going like they did in example 2; I used $chr(160) instead of $chr(32).