YOU SAID:
I was drinking tea when my tea spilled on the carpet
INTO JAPANESE
じゅうたんにお茶がこぼれたとき、お茶を飲んでいました
BACK INTO ENGLISH
I was drinking tea when the tea spilled on the carpet
INTO JAPANESE
じゅうたんにお茶がこぼれたとき、私はお茶を飲んでいました
BACK INTO ENGLISH
I was drinking tea when the tea spilled on the carpet
You've done this before, haven't you.