What is this syntax used for?

I was randomly working on a chat system and discovered this syntax within a script, what is it used for? (I’m talking about @DonKingFrog)

image

I believe the @ sign serves no functional purpose at the moment. Can you provide an image of the original syntax in question?

I was using command line to add rich markups to the red TextLabel labeled with Don (@DonKingFrog): 12:00 AM

image


I copy & pasted the text from the TextLabel into CommandLine to adjust its color and and that’s where it first appeared highlighted:

image

Couldn’t find any resources online of what this could mean so I thought to ask here lol

I just wanted to know what its purpose is incase it’s useful in my scripts

I think I’ve seen code comments that kind of look like jsDoc in luau code before. Maybe Roblox uses a similar solution for their code and as a result highlight text after @ for readability. It’s a wild guess and probably false though. You can see an example of what I mean below.
image

That’s exactly what I had in mind but was disproven with an error :confused:

1 Like

I’ve heard some talk about roblox adding comments to functions. So this might be an upcoming feature, similar to what @player356377 said.

seems no one in this thread is aware of @native ?

Could you elaborate or give me a link to what @native is?

3 Likes

Thank you for sharing this knowledge!!

Time to expand my knowledge :wink: