Operators
Squirrel has many operators like C++. Equals < = > is used to set values, double equals < == > is used to check values, exclamation value < !n > is used to check if something is null, and if it is null, it will return 1, otherwise 0. Less than equals < <= > is used to check if something is either less than or equal to something, more than equals < >= > is used to check if something is either more than or equal to something, less than < < > to check if something is less than something and more than < > > to check if something is more than something. Exclamation equals < != > is used to check if something is not equal to something. If it is equal to it, it will return 0, otherwise 1. Straight brackets integer < [int] > is used to get the value of an array at the point of the integer.
Example
local e, f; //Create private variables e and f
e = [2, 3, 5]; //Set variable e to array with values: 2, 3 and 5
f = [1, 6, 3]; //Set variable f to array with values: 1, 6 and 3
if( e[0] + e[1] + e[2] == f[0] + f[1] + f[2] ) print("The sum of array e and array f match"); //Check if the sum of array e and array f match
e = [2, 3, 5]; //Set variable e to array with values: 2, 3 and 5
f = [1, 6, 3]; //Set variable f to array with values: 1, 6 and 3
if( e[0] + e[1] + e[2] == f[0] + f[1] + f[2] ) print("The sum of array e and array f match"); //Check if the sum of array e and array f match