Save time whilst programming with "Script Commands"!

Script Commands - Save Time Whilst Programming

Script Commands are comments that run code when you press ENTER . They can automate tasks, improve organisation, and optimise workflows.

Some examples of how Script commands can help you save time is by automatically inserting modules or importing boilerplate code into your script. In addition, Script Commands can help to optimise workflows as they make it easier for developers to automate tasks.

Commands made with “Script Commands” are contained inside ModuleScripts , which are refered to as Plugins (not to be confused with Roblox Studio plugins). Script Commands Plugins must contain at least 1 main command but there isn’t a minimum or maximum limit for the amount of sub-commands that a Plugin can have.

To learn how to create your own Plugin for “Script Commands” then click here


Documentation: https://mightypart.github.io/ScriptCommands


Heres a loosely written format that every command made with “Script Command” follows:

-- [mainCommand.subCommand.subCommand2] arguement, dictionary=arguement

An Example Of A Command


Why Should I Choose “Scripts Commands”?

At the time this post was made, there is nothing similar to “Script Commands”. The only other plugins ive seen, only have one (or some) of the functionality that “Script Commands” offers. Also you can add your own custom commands to “Script Commands” - Click Here for the tutorial.


How To Install “Script Commands”

Step 1: Toggle the Script Editor API beta by: Studio > Beta Features > Script Editor API .

Step 2: Go to the plugins page here and install it.


Built-In Plugins

Insert -- [insert] - is a powerful plugin that allows you to very quickly insert any roblox asset or raw github .lua files. Popular or useful assets/modules will have an alias in the form of a string, this is to make it even more quicker to import these packages. Read More…

Templates -- [templates] - is a plugin that automatically inserts boilerplate code into the current script very quickly. Read More…

ImportSelected -- [importselected] - imports what you currently have selected in the Explorer into the script you’re currently editing. require() will automatically be wrapped around any ModuleScript's that are imported - to disable this behaviour set autoRequire to false in the command’s arguements. Read More…

Optimisations -- [optimisations] - similar to the templates plugin except it only focuses on optimisation boilerplate code. Read More…

7 Likes