Lets talk about every scripters FAVORITE subject, THEMES AND THE REMOVAL OF MULTIPLE SPACES! that evil little pet pieve to just about every scripter out there, on an event we can simply use $rawmsg to get what the server actually sent us, rather than what the nasty $1- is gonna do. so example space fix

on ^*:text:*:?: {
haltdef
var %1- = $mid($gettok($regsubex($rawmsg, /(?<= |^)(?= |$)/g, $str($chr(2),2)),4-,32),2)
echo $nick 4< $+ $nick $+ 4> %1-
}

so from our raw msg and a simple regex, we can replace double spaces with [space][bold][bold][space] and now our echo is right. WE SEE MULTIPLE SPACES!!! I originally was using ctrl+o but thats the kill character, it stops color, bold, underline, reverse... anyways $rawinput I would like to return EXACTLY what was in the input box to avoid the nasty $1- problem in an on input event.

This method allows multiple spaces and proper copying if you dont need the colors, like a normal copy.. ctrl+copy is gonna give you a buncha [bold][bold]'s if theres multiple spaces.