vupyC
Member
- Mar 2, 2016
- 29
- 0
- 36
this script is bag ?
and
throw the script datebot
Edit by mod: removed useless poll and wrapped code and log.
PHP:
<?php
require_once("libraries/TeamSpeak3/TeamSpeak3.php");
$ts3_VirtualServer = TeamSpeak3::factory("serverquery://serveradmin:<password>@127.0.0.1:10011/?server_port=9987&nickname=Chiripe[Time]");
$time = date("H:i");
while(1) {
$mychannel = $ts3_VirtualServer->channelGetById('22');
$mychannel["channel_name"] = "[cspacer]Время : $time";
[B]sleep(60);[/B]
}
?>
<17:42:28> "serveradmin from 127.0.0.1:60943" connected to channel "┏ Гостевая"
<17:42:28> "serveradmin from 127.0.0.1:60943" переименовался в "Chiripe[Time]"
<17:42:30> Канал "[cspacer]Время : 17:41" был переименован в "[cspacer]Время : 17:42" пользователем "Chiripe[Time]"
<17:42:30> "Chiripe[Time]" выброшен (connection lost)
and
throw the script datebot
Edit by mod: removed useless poll and wrapped code and log.
Last edited by a moderator: