A question about the script
-
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
-
maybe use /party and staff nicks instead of /staff?
-
I think it work! Yeah, it work! LoL! omg icedoll !1!!11!11
-
//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
@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" -
//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
@ChocoPie_isme How to send it every 5 minutes
-
@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

-
@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
-
@ChocoPie_isme But I want him to automatically
module = { name: "StaffFinder", author: "Azure", description: "StaffFinder by Azure", onUpdate: function () { mc.thePlayer.sendChatMessage("/staff"); StaffFinderModule.state = false; } } script.import("Core.lib");
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login