• If you need help or want to discuss things, you now can also join us on our Discord Server!

EN [Request] Notification Poke/Chat Servergroup

Killer0561

Donor
is awesome!
Insider
#1
Hello everybody,

I am looking for a script, which is linked to the verification php script. For example, if I have 3 server groups with 12+, 16+, and 18+, but a user does not have any of these 3 server groups, he should get a poke / chat message. Is that possible or not? Because the scripts (download section) I was looking for were not quite right. I look forward to your suggestions.

- Killer0561
 

Everlike

Donor
is awesome!
Contributor
#2
To poke/message a User when he is not in Servergroup x,y or z every t amount of time is possible. But it would be an Sinusbot script only, nothing linked to any extern php scripts.
 

r3flex

Member
Contributor
#3
You could link php and js script using database.
Although it would get really messy if php script is huge or the part you are trying to merge is huge, less data, the better.
 

r3flex

Member
Contributor
#4
E.g you could create mysql table, connect sinusbot script to that db, after user if verified (got his server group), put entry into db, with user uid, and set him as verified, then same connect into same table in your php script, and simply check if user is verified or not.
 

Killer0561

Donor
is awesome!
Insider
#5
It does not necessarily have to be in mysql. For me that would be enough in javascript. Short query, if the user is in one of the 3 groups, if not, he gets a message via poke or chat.
 

Similar threads