Scripting not working
-
Hello, i decided to try and make a script, and it does not work.
Any idea why?script.registerModule({ name: "CurrentCoords", category: "Misc", description: "Displays Current Coords.", tag: "Test", settings: { myBooleanSetting: Setting.boolean({ name: "Print Coords In Chat.", default: true }) } }, function(module) { module.on("enable", function() { Chat.print("Coords will now be printed."); var xcoor = eventData.getX(); var ycoor = eventData.gety(); var zcoor = eventData.getz(); var formattedmsg = xcoor + "§7 /§f " + ycoor + "§7 /§f " + zcoor; Chat.print("§f[XYZ]: "); } }); }; -
Hello, i decided to try and make a script, and it does not work.
Any idea why?script.registerModule({ name: "CurrentCoords", category: "Misc", description: "Displays Current Coords.", tag: "Test", settings: { myBooleanSetting: Setting.boolean({ name: "Print Coords In Chat.", default: true }) } }, function(module) { module.on("enable", function() { Chat.print("Coords will now be printed."); var xcoor = eventData.getX(); var ycoor = eventData.gety(); var zcoor = eventData.getz(); var formattedmsg = xcoor + "§7 /§f " + ycoor + "§7 /§f " + zcoor; Chat.print("§f[XYZ]: "); } }); }; -
Hello, i decided to try and make a script, and it does not work.
Any idea why?script.registerModule({ name: "CurrentCoords", category: "Misc", description: "Displays Current Coords.", tag: "Test", settings: { myBooleanSetting: Setting.boolean({ name: "Print Coords In Chat.", default: true }) } }, function(module) { module.on("enable", function() { Chat.print("Coords will now be printed."); var xcoor = eventData.getX(); var ycoor = eventData.gety(); var zcoor = eventData.getz(); var formattedmsg = xcoor + "§7 /§f " + ycoor + "§7 /§f " + zcoor; Chat.print("§f[XYZ]: "); } }); }; -
Hello, i decided to try and make a script, and it does not work.
Any idea why?script.registerModule({ name: "CurrentCoords", category: "Misc", description: "Displays Current Coords.", tag: "Test", settings: { myBooleanSetting: Setting.boolean({ name: "Print Coords In Chat.", default: true }) } }, function(module) { module.on("enable", function() { Chat.print("Coords will now be printed."); var xcoor = eventData.getX(); var ycoor = eventData.gety(); var zcoor = eventData.getz(); var formattedmsg = xcoor + "§7 /§f " + ycoor + "§7 /§f " + zcoor; Chat.print("§f[XYZ]: "); } }); };@realfx try to register it bruh, it only register module, not the script itself
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