A question about the script
Solved
General Discussion
-
code_text var script = registerScript({ name: "StaffFinder", version: "1.0", authors: ["Azure"] }); script.registerModule({ name: "StaffFinder", description: "StaffFinder ByAzure", category: "Fun", }, function (module) { command.execute("/staff") }); });
May I ask where I got the syntax wrong, I want to open this script and send the command / staff regularly
-
//api_version=2 var script = registerScript({ name: "StaffFinder", version: "1.0.0", authors: ["Azure"] }); script.registerModule({ name: "StaffFinder", category: "Fun", description: "StaffFinder ByAzure" }, function (module) { module.on("update", function() { commandManager.executeCommand(".say /staff") }); });
i think this will work
-
maybe use /party and staff nicks instead of /staff?
-
I think it work! Yeah, it work! LoL! omg icedoll !1!!11!11
-
@ChocoPie_isme That worked, but I want the script to close immediately after opening it
how to make -
@ChocoPie_isme said in A question about the script:
module.on("update", function() {
commandManager.executeCommand(".say /staff")
});@PVP-Azure
change module.on("update" to module.on("enable" -
@ChocoPie_isme How to send it every 5 minutes
-
@PVP-Azure said in A question about the script:
@ChocoPie_isme How to send it every 5 minutes
turn the module on every 5 minutes
-
@ChocoPie_isme But I want him to automatically