If all this and that statements are one-liner, the fastest way is write the line twice.
If the number of repeats is more then 2, use a repeat loop.
If the this and that statements contain more than one line, use a handler like
if condition1 or not condition2 then -- is the same as "if condition1 is true or condition2 is false then"
-- do this
and_that()
and_that()
-- and that also
end if
on and_that()
-- do something
-- do something else
end and_that