E Emos76 Member Mar 25, 2016 21 2 35 Apr 10, 2016 #1 counter in a nd channel group TS3 bot // transator google
T tagKnife Well-Known Member Oct 2, 2015 343 270 146 Apr 10, 2016 #2 Im sorry, but this makes no sense. Can you try again.
Agusanz Active Member Jul 18, 2015 239 148 88 Apr 13, 2016 #3 You can do that like this: Code: foreach($ts3->clientList() as $client) { $userCount = 0; $groupId = 6; foreach (explode(",", $client["client_servergroups"]) as $userGroup) { if($userGroup == $groupId) { $userCount = $userCount + 1; } } }
You can do that like this: Code: foreach($ts3->clientList() as $client) { $userCount = 0; $groupId = 6; foreach (explode(",", $client["client_servergroups"]) as $userGroup) { if($userGroup == $groupId) { $userCount = $userCount + 1; } } }