• Welcome to Valhalla Legends Archive.
 

Channel Ban

Started by Soul, June 07, 2003, 01:11 AM

Previous topic - Next topic

Soul

I Was wondering if anyone knew how to do chanban - As in you type (Trigger)channelban <channel> and it bans the whole channel...If anyone could help, i would appreiciate it ;} Thanks !  ;D

c0ol

u could have it /who the channel, then ban, but u have to becareful when detecting the [OPS] because at one point that was a legal name.  Another way would be to spawn a slave bot to go in that channel and then notify the other bot whos in the channel.

Moonshine

Have your bot keep an internal list of every user in the current channel, then traverse the list banning each user.

Tuberload

Your bot should keep track of users currently in the channel, join, and leave events in some fashion. That way you will know exactly who is in the channel. Then cycle through the list banning whomever you want.
Quote"Pray not for lighter burdens, but for stronger backs." -- Teddy Roosevelt
"Your forefathers have given you freedom, so good luck, see you around, hope you make it" -- Unknown