Context: Y has just told X that he/she is considering switching his/her job.

X: Are you going to quit?
Y: Only if I get a better offer.