• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

EN How to make a script to check if the server is in users of a specific group?

Status
Not open for further replies.

Am4n

Donor
is awesome!
Contributor
Insider
var clientgroups = JSON.stringify(ev.clientServerGroups);
if (sg.indexOf('servergroupid')>-1)
 

mxschmitt

Moderator
Staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
For each thought is a better way, because that is if a server group contains the id?
 
Status
Not open for further replies.
Top