Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how can i make chat commands that have arguments?

i have read many horrible tutorials on this. how could I make chat commands where you can write them like this: !notify test this would notify something using game.StarterGui:SetCore

2 comments

1

Dawg, at least those who made the tutorials are capable of making them, regardless horrible or not you should learn from it. use string.split or sub, whichever u prefer, sub is worse imo, you can use whitespace to get a table of arguments.

0

There are MANYYouTube tutorials on this kind of thing. Please do your research before you ask a question... E.G https://www.youtube.com/watch?v=ZJE_xTzOdLs This explains the basics for making chat commands

1 answer

Thanks! my chat commands are working perfectly with 2 arguments.

This discussion is preserved as it was. New answers, comments, and votes are closed.