I’m a new scripter and I was confused on what the difference is between one equals sign versus 2.
if order == 1 then
order = 2
This is from a tutorial on how to make a katana. Notice that with the first line, “if order == 1 then” there is 2 equal signs, but with the second line, there is just one. What is the difference?
== - if something equals to something
~= - if something is not equal to something
-= - value = value - number
+= - value = value + number
>= - if something is greater than other thing
<= - if something is lower than other thing