Infiniti
Member
I've recently came into a problem where users keep on coming into my channel, spamming their mics and the chat with inappropriate things. We aren't allowed to have passwords/talk power in our channels on my TS server, and I don't have the ability to ban users, so the best I can do is repeatedly kick them whenever this happens. I thought it would be a great idea to have a sort of blacklist that you can add users to.
Basically how it would work is you use the command !blacklist <user>, and then it will write the userid tied to that username into a text file.
Whenever a user joins the channel, it will check the text document to see if that userid is blacklisted, and if so, then it will automatically kick the user.
So what the script needs to do is:
-get the userid of a username
-write to a text file
-detect what userids join the channel
-read from a text file
-input a kick user from channel command
Basically how it would work is you use the command !blacklist <user>, and then it will write the userid tied to that username into a text file.
Whenever a user joins the channel, it will check the text document to see if that userid is blacklisted, and if so, then it will automatically kick the user.
So what the script needs to do is:
-get the userid of a username
-write to a text file
-detect what userids join the channel
-read from a text file
-input a kick user from channel command