philmasterplus
Active member
To gausie: Thanks, see discord for further discussion
@ikzann: Thanks. I tried to make a relay script in JS but attempting to launch it from the top menu results in an error message printed to the gCLI:
This script only contains this:
I tested it with r20534, r20531, r20527, r20524 (with necessary modifications to make it work) but all of them failed.
@ikzann: Thanks. I tried to make a relay script in JS but attempting to launch it from the top menu results in an error message printed to the gCLI:
Code:
JavaScript exception: Error: Module "file:/C:/Users/Phil/Documents/KoL/relay/relay_test.js" is not contained in sandbox.
This script only contains this:
JavaScript:
const { write } = require("kolmafia");
module.exports.main = function () {
write("Hello, world!");
};
I tested it with r20534, r20531, r20527, r20524 (with necessary modifications to make it work) but all of them failed.