summaryrefslogtreecommitdiffstats
path: root/src/scripttools/debugging/scripts/commands/eval.qs
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripttools/debugging/scripts/commands/eval.qs')
-rw-r--r--src/scripttools/debugging/scripts/commands/eval.qs21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/scripttools/debugging/scripts/commands/eval.qs b/src/scripttools/debugging/scripts/commands/eval.qs
new file mode 100644
index 0000000..02a1b9f
--- /dev/null
+++ b/src/scripttools/debugging/scripts/commands/eval.qs
@@ -0,0 +1,21 @@
+name = "eval";
+
+group = "running";
+
+shortDescription = "Evaluate program";
+
+longDescription = "";
+
+argumentTypes = [ "script" ];
+
+function execute() {
+ if (arguments.length == 0) {
+ message("Missing argument (program).");
+ return;
+ }
+ setEvaluateAction(0);
+ scheduleEvaluate(getCurrentFrameIndex(), arguments[0], "console input (" + Date() + ")");
+};
+
+function handleResponse(resp, id) {
+}