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

Help with --[[ and [[?

Asked by
iLegitus 130
9 years ago

So guys,I know when you do --[[ It turns your text green,But there is one "[[" i believe,Which turns it blue,What is that used for,And why does it turn it to blue color?

-[[
 HI GUYS


-]]

1 answer

Log in to vote
4
Answered by 9 years ago
[[ HEY GUYS HOW
ARE YOU DOING MY NAME IS THE
REAPERS COMING

]]

That's a multi lined string. You can put anything inside of there it's like saying " HI ", except with more lines to add it onto, if there's a lot of value to type in It's useful for that. A one lined string looks like this;

" HEY GUYS"

See the difference?

--[[
lol
hows it goin
]]--

This is a multilined comment, used to comment anything you want, and the script won't read it. It's your personal business. You could also use;

-- hi
0
To add to the answer: The single minus in front is acting like the `-` in `-5` or `3 + -x` BlueTaslem 18071 — 9y
Ad

Answer this question