title: Trying to set up an Autoresponder for Teamspeak via lua
body: <p>I have asked on the TeamSpeak community forums and either received very rude or cold comments. This is what I have far and have had no success.</p>
  
  <pre><code>function onTextMessageEvent(serverConnectionHandlerID, targetMode, toID, fromID, fromName, fromUniqueIdentifier, message, ffIgnored)
      myChannelID = ts3.getChannelOfClient(serverConnectionHandlerID, myClientID)
      if myChannelID == 56115 then
          function onTextMessageEvent(serverConnectionHandlerID, targetMode, toID, fromID, fromName, fromUniqueIdentifier, message, ffIgnored)
              myID = ts3.getClientID(serverConnectionHandlerID)
              response = [[I'm sorry,
                  I can't answer your message right now. If you need my help, please send me  a ticket! I am a bit busy right now and really need to concentrate.
                  Thanks! :)]]
              if fromID ~= myID and toID == myID then
                  ts3.requestSendPrivateTextMsg(serverConnectionHandlerID, response, fromID)
              end
          end
      end
  end
  </code></pre>
  
  <p>The responder is working just fine. I am trying to set it to reply when I am in a specific channel.</p>