Community Forums Today's Posts     Member List     Archive    
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. TS Connection Problem
    By 2pr in forum [TeamSpeak 2] Client Support
    Replies: 27
    Last Post: 21-11-2009, 10:33
  2. No reply from server.... PLEASE HELP
    By Stratician in forum [TeamSpeak 2] Client Support
    Replies: 2
    Last Post: 02-05-2007, 19:48
  3. mic not picking up anything
    By majom in forum [TeamSpeak 2] Client Support
    Replies: 1
    Last Post: 17-10-2004, 23:51
  4. Teamspeak startet nicht
    By gunman in forum [TeamSpeak 2] Client Support
    Replies: 6
    Last Post: 27-09-2002, 14:03

Posting Permissions

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