adjusted the wording and added dynamic player server location

This commit is contained in:
Jordan Turner 2021-12-15 17:52:08 -07:00
parent 4836617745
commit ac79d0aea4

@ -20,7 +20,8 @@ export function runProgram(
const programName = args[0] + "";
if (!player.hasProgram(programName)) {
terminal.error("No such (exe, script, js, or ns) file on home computer (Only programs that exist on your home computer can be run)");
terminal.error(`No such (exe, script, js, or ns) file! (Only programs that exist on your home computer or scripts on ${player.getCurrentServer().hostname
} can be run)`);
return;
}