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

What is ~ used for?

Asked by 9 years ago

What is ~ used for

2 answers

Log in to vote
3
Answered by
magnalite 198
9 years ago

It's used for "not equal to".

if Blah ~= OtherBlah then

Ad
Log in to vote
-1
Answered by 9 years ago
local blah = "blah

if blah ~= blarg then
print("~= means not equal to, as shown in this example.")
end

Answer this question