Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there a way for you to post messages in your script and make them not count?

Asked by 5 years ago

Hey, I usually used to program in Python. Then I tried Lua. Is there a way for me to use comments in scripts to tell something? Like I don't want the comment to have an effect on the script. I just want it there to remind me about stuff.

2 answers

Log in to vote
1
Answered by 5 years ago
Edited 5 years ago
-- This is a comment!

--[[
Lol life
lol life
multi line commmmmments
]]

Here ya go

0
lmao EmbeddedHorror 299 — 5y
Ad
Log in to vote
-1
Answered by 5 years ago

You could google this but here are some examples:

--[[

Boxed, multi line comments

]]--

-- Singular line comments

print("Yay")
0
When I do -- hello this is the end. It actully reconises the end in the sentence and uses it to mark a function as a end. How do I avoid this? Skydoeskey 108 — 5y
0
Put it in a multi line comment to make sure Kriscross102 118 — 5y
0
Yeah that's a very old little problem that was never fixed, the roblox script editor really needs some trouble shooting starmaq 1290 — 5y
0
Also I always do research before I ask a question. But I forgot to mention what I had tried. Skydoeskey 108 — 5y

Answer this question