this script, when reads froma log, and the line is
[15:47:44] Loading level C&C_Field.mix
it frezes, stops, does nothing, yet it should tokenize the line, the notice me $2
alias 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
}
else {
/tokenize 32 $read(%log,1)
if ($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)) {
.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
}
}
what is wrong with it, i cannot spot the problem