I changed $remove($gettok($1-,%a,32),$chr(44),$chr(36)) to $remove($gettok($strip($1-),%a,32),$chr(44),$chr(36)) but it still refuses to work if the text is using color codes. frown