something is wrong with scriptapi nextgen, even the basic script does not work
/// api_version=2
var script = registerScript({
name: "AuraD",
version: "1.0.0",
authors: ["My Name"]
});
script.registerModule({
name: "AuraD",
category: "Misc",
description: ""
}, function (module) {
module.on("enable", function() {
moduleManager.getModule("KillAura").getValue("Range").set(3.4);
});
module.on("disable", function() {
moduleManager.getModule("KillAura").getValue("Range").set(3.0);
});
});