KS2001
Un valor no está escrito correctamente. El mensaje indica qué se esperaba. Las causas habituales son una línea que termina en un operador, un corchete que nunca se cierra, y usar && o || donde KScript espera and o or.
<let>$total = 5 +</let> <!-- wrong: nothing after the + -->
<set name="total" value="5 + 1" /> <!-- right -->$total = 5 + // wrong: nothing after the +
$total = 5 + 1 // right