InCommand - versatile, adaptable command execution

That’s a major bug, thank you for bringing it to my attention! We’ll work on that right away.

4 Likes

Thanks for your UI suggestions! We’re investigating implementing folders for scripts, as well as improving the user experience for renaming scripts, among other common operations, so we’ll keep you up to date in this thread as those features and enhancements are added in the future :slightly_smiling_face:

Pro tip; you don’t have to delete a script to overwrite it! Saving your script with the same name as an existing script will automatically overwrite the existing script. We currently show a warning in the save modal to let you know if you’re overwriting something, but we’re definitely going to look at improving this behaviour in the future.

Thanks again for the feedback! It’s great to hear that our plugin is helping :grinning:

4 Likes

One more bug (or at least undesired) that I discovered: syntax highlighting doesn’t highlight the entire number when using the _ operator.

InCommand:
image

Roblox:
image

2 Likes

Good catch. When writing the Lua patterns for my tokenizer, I forgot that was valid syntax. I’ve fixed that and you’ll get that patch whenever the next update goes live.

I’m still trying to figure out the odd highlighting misbehavior you discovered earlier, but I’m sure I’ll solve it eventually. Edit: Solved this one too, both fixes will be published shortly.

6 Likes

Is this for just in-studio testing, or can you use it while in game?

2 Likes

It’s a Studio plugin, not an admin console.

5 Likes

Update for the above issues is live. Number lexing and highlight edge case is fixed!

6 Likes

Update again! Two in one day- I know, it’s crazy.

  • Added highlighter support for all libraries (previously only supported math, but now does coroutine, string, debug, etc)
    Thank you to @ExoByte for pointing out my oversight and providing me with the libraries

  • InCommand can now be opened even when you have the Studio script editor window open

13 Likes

I was looking for something like this in April, very useful even still.

3 Likes

Has adding functionality to require other saved scripts been considered? Some common patterns in my scripts could be shortened if this functionality existed.

1 Like

Sorry to necro but I think you should add support for using pgup, pgdn, up arrow and down arrow to go between lines. These are keys I use very frequently and it would be a massive help.

I’ve written the code that does that (works in the game Lua Learning), but I haven’t found a way to make it work for plugins due to input quirks. Rest assured, it is on my to do list and something I’m working to accomplish.

Edit: After more testing, I don’t think it’s even possible. To do this, I’d need to detect when you press the up/down keys and then move your cursor. However, when the user is in a TextBox I have no way to detect those keypresses. UserInputService.InputBegan doesn’t fire, ContextActionService isn’t available to plugins, TextBox.InputBegan doesn’t fire, and PluginMouse.KeyDown doesn’t fire. The TextBox completely eats the input and I therefore cannot make this happen, sorry!

8 Likes

Is it ever going to be free? I do not have much robux right now, and I would love to try this out.

1 Like

No. This has been asked and answered multiple times. If you want more elaboration than just a “No” then read the thread.

7 Likes

Have you tried UserInputService:IsKeyDown() or UserInputService:GetKeysPressed()? Either way, thanks for trying.

Those aren’t event based, and having the plugin polling those constantly is terrible for performance.

6 Likes

@boatbomber & @Elttob , idk why but your Plugin causes Studio to freeze for a moment when I press Play

as you can see it’s not other Plugins nor any in-game Scripts that could cause the lag,

I have isolated the issue and found that while your Plugin is activated it causes Studio to freeze even in a Baseplate.

  • The plugin is up to date as seen in the video
  • I don’t have any saved scripts, I was using your plugin for the first time
3 Likes

Thank you for bringing this to my attention! When did you notice this started happening? We haven’t updated in nearly a month and I haven’t seen this until now!

3 Likes

Recently today as soon as I activated your Plugin,

2 Likes

Has anyone else experienced this? I can’t reproduce this, everything is working fine for me.

What are your specs, RuizuKun? Maybe it works for me but freezes on lower end hardware.

4 Likes