title: PHP Chat Bot: Google Talk
body: <p>I was wondering how to create a chat bot for Google Talk via special client. </p>
  
  <p>I know it uses XMPP to send messages, but I do not know how to use this at all. It is my understanding that I should be able to make a bot which chats for me when I am away if I were to create my own client page, which would parse the chats with my data. Where would I begin if I wanted to create a custom client, and how could I make it parse messages and autorespond in a set manner? My intended usage: autoresponder for when I am AFK, with a decent AI (which I can make.)</p>
  
  <p>Can I use this protocol with PHP to make my bot, or must it be java or python based?</p>
  
  <p>Thanks for any and all help!!!</p>