Command Line Interaction

Is there any additional interaction for the command line besides just being able to type and execute code? For example, is there a way of being able to retrieve local memory from previous variables declared with the global type in the command line? Thanks.

1 Like

The Dev-Console is able to execute code lines. If you want to expand its features or it capabilities, you can fire and use remote events from it. Sorry if this isnt what you were asking.

You can basically put whatever you want into the command line, with a few exceptions. It doesn’t have to just be one command as the tool’s title suggests. You can write an entire script multi line script, and then paste and run it inline in command line.

If you are interested running multi line commands, I recommend the InCommand plugin, as it makes things much easier.

You used to be able to access _G variables from the command line, but can’t anymore due to a vulnerability that was found.

https://devforum.roblox.com/t/-g-not-shared-between-command-line-and-regular-scripts/12820/3?u=excessenergy

Now command line globals run in a different environment.

However, you may possibly be able to use _G with InCommand, as it works using normal roblox scripts. I haven’t tried, but it might work.

Hope the above is helpful!

2 Likes