Sentence:  And I had hardly finished my business in the toilet on the aforementioned occasion when the lights in that place , like the hall lights controlled from the switch in the office , <WSD>flicked</WSD> off and on impatiently . 
Meaning of the word marked with <WSD> tags:  flash intermittently