Hi im kinda new to LUA and i wanna know what this does
~=
thanks
~= means Not equal too.
If your asking about =, then, An equals sign can do many things.
1 | Chuck = game.Workspace |
1 | Chuck = true |
I'm sure there is many more uses for =, I only know a few.
Hope I was a help.
Here is a Wiki section that will help you with all operators and their meanings. http://wiki.roblox.com/index.php?title=Operators
Glad I could help. A thumbs up wouldn't hurt. :)
The ~= means 'not equal to'.
So, for example:
1 | local a = 1 |
2 |
3 | if a ~ = 1 then |
4 | print ( 'This will never print' ) |
5 | else |
6 | print ( 'This will print' ) |
7 | end |
~= means "not equal to"
For example:
if 2*2 ~= 6 then print("THESE AREN'T EQUAL!") end
~= Means Not Equal
that means it returns false if the value is equal