TeamSpeak TeamSpeak

Community

Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2009
    Location
    italy
    Posts
    46

    Please a stupid example to change channels source code!!

    Is possible 1 source code?

  2. #2
    Join Date
    Apr 2009
    Location
    Germany / Deutschland
    Posts
    71
    If you had looked at the test_plugin code, you would have this:
    PHP Code:
            case CMD_JOIN:
                if(
    param1) {
                    
    uint64 channelID = (uint64)atoi(param1);
                    
    charpassword param2 param2 "";

                    
    /* Get own clientID */
                    
    if(ts3Functions.getClientID(serverConnectionHandlerID, &myID) != ERROR_ok) {
                        
    ts3Functions.logMessage("Error querying client ID"LogLevel_ERROR"Plugin"serverConnectionHandlerID);
                        break;
                    }

                    
    /* Join specified channel */
                    
    if(ts3Functions.requestClientMove(serverConnectionHandlerIDmyIDchannelIDpasswordNULL) != ERROR_ok) {
                        
    ts3Functions.logMessage("Error requesting client move"LogLevel_ERROR"Plugin"serverConnectionHandlerID);
                    }
                } else {
                    
    ts3Functions.printMessageToCurrentTab("Missing channel ID parameter.");
                }
                break; 

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Resolved] ClientQuery Source Code
    By Wilson29thID in forum Plugins
    Replies: 3
    Last Post: 03-01-2012, 10:44
  2. source code
    By null in forum [TeamSpeak 2] General Questions
    Replies: 4
    Last Post: 29-01-2004, 06:52
  3. Ports to ...... Or Source Code
    By parcan in forum [TeamSpeak 2] Server Support
    Replies: 3
    Last Post: 16-01-2003, 00:37

Posting Permissions

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