The script auto-kicks users from the created channel back to the lobby if they attempt to create a channel with 5 or more numbers in the title. It's for stopping users from advertising with IPs
For example: "If you want to block "Swear Words" in channel name. You can block with this script or whatever you want"
1-) chmod +x channelcontroller.sh
2-) Edit Config.cfg with your informations
3-) ./channelcontroller.sh start/stop
4-) You must use PHP 5.5+
Thanks For Help @Eskirex
For example: "If you want to block "Swear Words" in channel name. You can block with this script or whatever you want"
1-) chmod +x channelcontroller.sh
2-) Edit Config.cfg with your informations
3-) ./channelcontroller.sh start/stop
4-) You must use PHP 5.5+
Thanks For Help @Eskirex
PHP:
.com , .net , .org , .xyz , .info , .pro , .tk , .work
PHP:
if($cfg['kickchannel']){
if(StriStr($channelnames['channel_name'] , ".net")){
$tsAdmin->channelDelete($channelnames['cid'], 1);
}
}
Last edited: