Add new feature in a XMPP Robot (JAVA)

Closed - This job posting has been filled and work has been completed.

Job Description

I have a XMPP robot that log in into a room, say a phrase and logout.
I need a new feature into this robot:
It must log in, say the phrase and stay listening the room; Everytime that someone say the word "time", the robot must say the actual time in Munich (Germany).