this is an example of what i'm trying to do. i want to remove double spaces from file names.. and rename them.

Code:
    if ($+($chr(32),$chr(32)) isin $nopath($1-)) && (!$isfile($+($nofile($1-),$replace($nopath($1-),$chr(95),$chr(32))))) { 
      .rename $1- $+(",$nofile($1-),$replace($nopath($1-),$+($chr(32),$chr(32)),$chr(32)),")
      echo -a 4:: Removed Double Spaces In 4::  $1- 
    }