applescript Making Applescript If and Else Statements if variable = 2


Example

set var to 2

if var = 2 then
    say "Var equals 2"
end if