Which hub software is the best? Where can I find script XXX? Discuss it here...(no, this is not for advertising your hub...)
Moderator: Moderators
-
Brian
- Posts: 31
- Joined: 2003-04-04 18:28
- Location: Ontario, Canada
Post
by Brian » 2003-04-18 04:45
This little thing will prevent BBB users from entering your hub. I know this isn't much but it works
Code: Select all
Dim sBotName
Sub Main
sBotName = "BanBot"
frmHub.RegisterBotName cStr(sBotName)
End Sub
Sub NewUserConnected(curUser)
If Mid(LCase(curUser.sName),1,5) = "[bbb]" Then
frmHub.lstPermBan.AddItem curUser.IP
colUsers.SendToAll "[The faker" & curUser.sName & " was banned]"
curUser.PrivateMessage "BanBot", "Thanks for coming now stay out scum!"
curUser.Kick
End If
End Sub
Users browsing this forum: Google [Bot] and 0 guests