on *:event:#: { if (v1 = v2) { Put your commands here. Then close bracket on new line. } Else { Put else commands here, Close bracket -> } ; Then, Close the entire event off with another bracket. }