Forum


Notice to all users

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

Results 1 to 2 of 2
  1. #1
    Join Date
    October 2014
    Posts
    60

    Channel Name Char

    I use some code to switch channels by matching the name of the Channel with an output from a program.
    A snip of the code is below.

    The program outputs Getcom1 which I sprintf as FREQ.

    It works perfectly when my channel name is only the FREQ but I would like to add something after FREQ too.

    Code:
    sprintf_s(FREQ, "%3.3f", GetCom1());
    	char *chpath[] = {"Air Traffic Control",FREQ, ""}; // Channel Structure
            anyID myId = 0;
    Is there a way to set the Char so it only needs to see a part of the channel name?

    For Instance if FREQ = 123.450 and my Channel is called "123.450 Tower 1" I would like my plugin to move me if it matches the first 6 digits (FREQ) regardless of what the rest of the name is.
    Last edited by ATC_ROO; March 8th, 2015 at 09:44 PM.

  2. #2
    Join Date
    October 2014
    Posts
    60
    Can nobody help me out with this?

    I just need FREQ + Extra info ie (123.450 Tower)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: December 4th, 2014, 05:12 PM
  2. Replies: 1
    Last Post: July 30th, 2010, 10:15 AM
  3. [Suggestion] max char in channel properties
    By eckart in forum Suggestions and Feedback
    Replies: 0
    Last Post: December 29th, 2009, 06:45 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
  •