Forum

Results 1 to 2 of 2
  1. #1
    Join Date
    February 2018
    Posts
    3

    [HELP PLEASE] Check if a Unique ID is in a specific server group

    Hello,

    I'm trying to check if a Unique ID (which the system already got) is in a specific server group or not. If it is it should echo A, if not it should echo B.

    foreach($ts3_VirtualServer->serverGroupClientList(19432) as $vip){
    foreach($arr_ClientList as $ts3_Client)
    if(in_array($ts3_Client[$uid], $vip)){

    echo 'VIP ja';
    }
    else
    {
    echo 'VIP nein';
    }
    }
    I tried this, which I found through googling, but this one doesn't work.

    And also how to check if there are more than 1 or for e.g. more than 3 users in a specific server group, then echo A else echo B

    PS: If there is anyone who can easily write stuff like this in a matter of minutes and wouldn't charge too much, I would pay someone to write me some custom scripts like that.
    Last edited by user010194; January 10th, 2019 at 02:56 AM.

  2. #2
    Join Date
    February 2014
    Posts
    136
    Sent you a PM.

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Similar Threads

  1. [Resolved] Specific group required to join specific channel
    By BatelGeuce in forum Permission System
    Replies: 12
    Last Post: January 11th, 2016, 09:52 AM
  2. Replies: 2
    Last Post: November 14th, 2014, 07:31 PM
  3. Unique issue when 1 specific person talks.
    By Kazzio in forum Client Support
    Replies: 1
    Last Post: August 4th, 2014, 09:05 PM
  4. Replies: 1
    Last Post: March 24th, 2013, 03:28 PM
  5. [Solved] [Suggestion] Check Group permissions when switching group
    By azzy101 in forum Suggestions and Feedback
    Replies: 2
    Last Post: March 25th, 2010, 01:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •