require_once("libraries/TeamSpeak3/TeamSpeak3.php");
require_once("config.php");
$ts3_VirtualServer = TeamSpeak3::factory("serverquery://".$YATQA_username.":".$YATQA_password."@".$server_ip.":".$YATQA_queryport."/?server_port=".$server_port."&nickname=".$botname."");
$query = $ts3_VirtualServer->serverGroupGetByID("2");
$ts3_PrivilegeKey = $query->privilegeKeyCreate();
$YATQA_username = 'serveradmin';
$YATQA_password = 'Type here.';
$YATQA_queryport = '10011';
$server_ip = '127.0.0.1';
$server_port = '9987';
$botname = '[R4P3]Token-Bot%20['. mt_rand(0, 99).']';