'nother question: how do you use the 'if' in script editor?

how do you use the 'if' in script editor
like, do you say if [var1] [condition] [var2] then [action]
if so, how do you do multiple actions?
like, do you say if [var1] [condition] [var2] then [action]
if so, how do you do multiple actions?