Added more scripting support to PCx86 (eg, for loading disks, typing keys, and waiting for both to finish)
This commit is contained in:
parent
f391d7b4b5
commit
1b987df6e2
9 changed files with 1251 additions and 1186 deletions
|
|
@ -763,7 +763,7 @@ class Component {
|
|||
* Component.processScript(idMachine, sScript)
|
||||
*
|
||||
* @param {string} idMachine
|
||||
* @param {string} sScript
|
||||
* @param {string} [sScript]
|
||||
* @return {boolean}
|
||||
*/
|
||||
static processScript(idMachine, sScript)
|
||||
|
|
@ -848,7 +848,7 @@ class Component {
|
|||
}
|
||||
|
||||
if (!fSuccess) {
|
||||
Component.alertUser("Script error: " + sCommand + (fnCommand? " failed" : " unrecognized"));
|
||||
Component.alertUser("Script error: '" + sCommand + "' command " + (fnCommand? " failed" : " unrecognized"));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue