diff -r 38f9209f5caa -r 2e51f3726f32 console_cmds.c --- a/console_cmds.c Mon Dec 13 18:53:59 2004 +0000 +++ b/console_cmds.c Mon Dec 13 19:07:54 2004 +0000 @@ -286,8 +286,9 @@ fgets(cmd, sizeof(cmd), _script_file); while (!feof(_script_file) && _script_running) { - strtok(cmd, "\r\n"); - IConsoleCmdExec(cmd); + strtok(cmd, "\r\n#"); + if (strlen(cmd) > 0 && cmd[0] != '#') + IConsoleCmdExec(cmd); fgets(cmd, sizeof(cmd), _script_file); }