Synonyms for Only when:

n.

only when (noun)
only if, only.