if var1 = 5 else 语句
set var1 to 5
//set the number to anything
if var1 = 5 then
say "Var one equals 5"
else
say "Var one does not equal 5"
end if
set var1 to 5
//set the number to anything
if var1 = 5 then
say "Var one equals 5"
else
say "Var one does not equal 5"
end if