I was looking at some other scripts, and looked on the actual wiki, and didn't seem to find out what "~" meant. Can anyone help me answer this?
~
is part of a conditional operator. It is also known as "Not"
Example of '~':
~=
is like saying "Not equal"
if (x ~= 0) then --If x "Is NOT equal to" 0 --Code end
You can also use not
in other parts of the conditional statement to determine if something is "Not".
Example of 'not':
if (not x) then --If NOT true, then --Code end
Let me know if you have any other questions!