What does ~= or ~ mean in scripting?

  1. I want to learn what ~= or ~ means

  2. I don’t know how to use them.

  3. I have not looked for solutions yet.

Is ~ not and is ~= not or =?

2 Likes

~= means not equal to, ~ means not

14 Likes

Yep, like NoTax said!
These are Conditional Structures.
Conditional Structures allow scripts to perform actions when specific conditions are met!

7 Likes

Ohhhh ok! Thx for the help. I will test it later today! I needed to know because im a advanced scripter and I still don’t know much things. Thanks for helping!

1 Like

~= basically means not equal to, the ~ means not, but it can only be used for ~=, you have to use not to check if something is not something, like checking if a value is false, you use if not boolean then or if boolean ~= true then

1 Like

If [this_x] (is not equal to) ~= [this_y] then
Yes, x ~= y

1 Like

By the way, Should i keep my main post or should i change it?

What main post are you referring to?

1 Like

Yea. Sorry if you couldn’t understand.