Valhalla Legends Forums Archive | Battle.net Bot Development | Channel Ban

AuthorMessageTime
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
June 7, 2003, 6:11 AM
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.
June 7, 2003, 6:30 AM
Moonshine
Have your bot keep an internal list of every user in the current channel, then traverse the list banning each user.
June 7, 2003, 6:41 AM
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.
June 7, 2003, 8:36 PM

Search