how would u block people with say _search or [HUN] in their names from entering you hub?
i like to use umm phattys NemoX bot.
thankyou
also is it possible to use smileys? in dc.
like let users post smilies.
thx.
try this one I use it religously
--// Lamer bot by ?V?J??K??, case insensitivity special thanks to amutex! - looks for nicks in list, and disconnects them on entry reporting nick and ip address to specific operator in his main chat window. put your nick in parenthesies where it says dest to be notifyed. it will also find the nick even if they add somthing to end of nick and try relogging. so genisis2 for example would still get disconnected.
botName = "Lamerbot"
--// Disconnect the following users ip on entry
forbiddenWords = {"bad_boy", "genisis", "n.y.c.p.i.m.p", "birdy"}
dest="?V?J??K??"
function Main()
frmHub:RegBot(botName)
end
--// This function is fired when a new user finishes the login
function NewUserConnected(curUser)
for key,checkWord in forbiddenWords do
if strfind(curUser.sMyInfoString, checkWord, 1, 1) then
curUser:Disconnect()
end
end
end
yeah thats kool,thx. is it possible to have smilies?
QuoteOriginally posted by mmx
yeah thats kool,thx. is it possible to have smilies?
that you have 2 ask on the dc++ forum or start using dcpro/dcgui.
plop
dvx - i don't seem to be able to get that script to run right.
i got it to work it was my fault i missed a " round one of the words
cheers! works great.
if it could tell u when someone get kicked that would help.
Good.. i guess
yup i guess it is too