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 3 of 3
  1. #1
    Join Date
    September 2012
    Posts
    29

    Solved Getting channel subchannels count via serveradmin command

    Hello,

    Is there any possibility to get certain channel subchannels count (using the command on serveradmin query)? I need to order the channel names with digits to prevent future channel duplicates while using my auto channel creation tool.

    Regards.

  2. #2
    Join Date
    September 2012
    Posts
    6,079
    You can pull that information out of the output from channellist. Just count how often "pid=CHANNEL_ID" appears in the output. CHANNEL_ID is the channel id of the parent channel for which you want to know how many sub channels it has.
    Using this method you will only get the direct subchannel count though. If you need to include sub sub channels too you would need to count recursively.

  3. #3
    Join Date
    September 2012
    Posts
    29
    Hello Chris, thank you for your reply. The problem is solved now. Thank you.
    Last edited by pompex; March 21st, 2013 at 08:32 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Count down to server restart using gm message command
    By scubastevelg in forum Client Plugins / Lua Scripts
    Replies: 2
    Last Post: September 12th, 2012, 11:57 AM
  2. Replies: 1
    Last Post: June 26th, 2012, 11:51 AM
  3. User count in channels+subchannels
    By VitaliusDFox in forum General Questions
    Replies: 5
    Last Post: January 11th, 2012, 04:29 PM
  4. Count of TS3 channel user
    By buker999 in forum General Questions
    Replies: 2
    Last Post: June 17th, 2011, 01:14 AM
  5. CHannel User Count - PHP
    By djmatrix1987 in forum Tools / Web Based
    Replies: 3
    Last Post: June 8th, 2011, 01:44 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
  •