i have done a bit of debugging and moved a few things around, this should! should! work, but doesnt,
Code:
lias run1 {
  /.set %log %logpath $+ renlog_ $+ $date(m-d-yyyy) $+ .txt
  if ($read(%log, 1) != $null) {
    if (*load* !iswm $read(%log ,1)) && (*loading* !iswm $read(%log ,1)) {
      /tokenize 32 $read(%log,1)
      if (($1 != $null) && ($2 == $null)) {
        /write -dl1 %log
        elseif ($2 != $null) {
          /.notice $me $2- 
          /.write FDS_Log_ $+ $date(m-d-yyyy) $+ .txt $read(%log, 1) 
          /.write -dl1 %log
        }
      }
      elseif (*loading* !iswm $read(%log ,1)) && (*load iswm $read(%log ,1)) {
        .write -dl1 %log
      }
      elseif (*loading* iswm $read(%log ,1)) {
        /tokenize 32 $read(%log,1) 
        /.notice $me $2- 
        /write FDS_Log_ $+ $date(m-d-yyyy) $+ .txt $read(%log , 1) 
        /write -dl1 %log
      }
    }
  }
}
;i did 
//if (*loading* iswm $read(%log ,1)) { echo #EVO-Scripting hi }
;echoed hi as expected, so that means it should do
        /tokenize 32 $read(%log,1) 
        /.notice $me $2- 
        /write FDS_Log_ $+ $date(m-d-yyyy) $+ .txt $read(%log, 1)
;but doesnt, i have looked over and over but cannot work out why, someone plz help me