[PHP] Sort channels

codex

New Member
Jan 7, 2017
10
4
18
Hello guys, i m back here with a new script in php that allowed to record automatically the channel in the spacer with the start of the name.
Example:
45ab68c0b8de4c67b64acb2c03ba64d1.png
How to install & Configure
Install requirements:
Configure:
  • Change with your credentials
Code:
$config = array(
    "address" => "localhost", //Your IP
    "queryport" => "10011", //Your Query Port
    "serveradmin" => "serveradmin", //Your ServerAdmin
    "password" => "qwerty", //Your Password  Query
    "port" => "9987", //Your Port TeamSpeak
    "nickname" => "CodexBOT" //Your Nickname bot
);

  • Create spacer channel on TeamSpeak and take cid
  • Enter the CID in the config
Code:
$channels = array(
    "A" => 5, //Name channel (A) and CID (5)
    "B" => 6,
    "-" => 50
    //... insert other
);

  • Launch the script :)
php namescript.php
 

Erza86

Member
Sep 21, 2015
60
18
40
I think his thought behind is, that the bot is continuously running or checking (on) the teamspeak.

So if you have for example a new channel which needs to be sorted it is easier to have a "word" that triggers the sorting, then going into an config.
 
Top