|
|
@ -7,6 +7,7 @@ $server = TeamSpeak3::factory('serverquery://'.$user.':'.$passwd.'@'.$host.':'.$
|
|
|
|
|
|
|
|
|
|
|
|
$exceptions = array_unique(array_merge($exceptions, $roots));
|
|
|
|
$exceptions = array_unique(array_merge($exceptions, $roots));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
while(true) {
|
|
|
|
foreach($roots as $root) {
|
|
|
|
foreach($roots as $root) {
|
|
|
|
$root = $server->channelGetByName($root);
|
|
|
|
$root = $server->channelGetByName($root);
|
|
|
|
$subs = $root->subChannelList();
|
|
|
|
$subs = $root->subChannelList();
|
|
|
@ -44,3 +45,5 @@ foreach($roots as $root) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sleep(1);
|
|
|
|
|
|
|
|
}
|