Notice to all users

We are migrating towards a new forum system located at, as such this forum will become read-only on January 29, 2020

Results 1 to 5 of 5
  1. #1
    Join Date
    March 2014

    [Request] Text Chat / Poke Commands


    I'd like a plugin that can accept commands via text chat or poke.

    The commands should be:

    .joinme - joins channel user is in.
    .home - goes to defined home channel


  2. #2
    Join Date
    September 2012
    Easily done with a LUA Script.
    When sending PMs please make sure to include a reference link to the thread in question in the body of your message.

  3. #3
    Join Date
    March 2014
    Quote Originally Posted by Chris View Post
    Easily done with a LUA Script.
    Except, I have no coding experience what-so-ever, so to me it wouldn't be "easily done". Which is why I'm asking someone who can "easily" do if he would be so kind as to do it for me.

  4. #4
    Join Date
    March 2014
    Any chance anyone could do this for me?

  5. #5
    Join Date
    November 2013
    Ok i'm not familiar with LUA myself, so dont take this as a masterpiece

    download the attachment, extract it to
    so you have
    in the end.

    you can edit the file...right at the start the "home channel" is defined, so you can edit it easily

    enable the lua plugin and in the preferences of the plugin you have to enable the "autojoin" script. good luck

    here the code, if someone else is interested
    require("ts3init")            -- Required for ts3RegisterModulerequire("ts3defs")
    local MODULE_NAME = "autojoin"
    local home_channel = "Eingangshalle"
    local function localOnTextMessageEvent(serverConnectionHandlerID, targetMode, toID, fromID, fromName, fromUniqueIdentifier, message, ffIgnored)
        if targetMode == ts3defs.TextMessageTargetMode.TextMessageTarget_CLIENT then    
            clientID = ts3.getClientID(serverConnectionHandlerID)        
            if message == ".joinme" then
                newChannelID = ts3.getChannelOfClient(serverConnectionHandlerID, fromID)
                ts3.requestClientMove(serverConnectionHandlerID, clientID, newChannelID, "")
            elseif message == ".home" then
                channelList, err = ts3.getChannelList(serverConnectionHandlerID)    
                for i, channelID in ipairs(channelList) do 
                    if home_channel == ts3.getChannelVariableAsString(serverConnectionHandlerID, channelID, ts3defs.ChannelProperties.CHANNEL_NAME) then
                        homeChannelID = channelID
                ts3.requestClientMove(serverConnectionHandlerID, clientID, homeChannelID, "")
        return 0
    -- Define which callbacks you want to receive in your module. Callbacks not mentioned
    -- here will not be called. To avoid function name collisions, your callbacks should
    -- be put into an own package.
    local registeredEvents = {
        onTextMessageEvent = localOnTextMessageEvent
    -- Register your callback functions with a unique module name.
    ts3RegisterModule(MODULE_NAME, registeredEvents)
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: April 24th, 2016, 09:36 PM
  2. [Request] Reply to chat commands
    By carsonj0108 in forum Client Plugins / Lua Scripts
    Replies: 2
    Last Post: March 25th, 2015, 02:15 PM
  3. [Resolved] Poke text should log to the Sender as well as the Receiver
    By PatPeter in forum Suggestions and Feedback
    Replies: 16
    Last Post: January 11th, 2013, 09:36 PM
  4. need help with poke/text chat
    By MrTink in forum General Questions
    Replies: 2
    Last Post: December 24th, 2012, 07:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts