username block?
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

username block?

Started by mmx, 08 December, 2003, 23:26:27

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mmx

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

mmx

also is it possible to use smileys? in dc.

like let users post smilies.

thx.

dvxjunkie

#2
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

mmx

yeah thats kool,thx. is it possible to have smilies?

plop

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
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

mmx

dvx - i don't seem to be able to get that script to run right.

mmx

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.

IceCoder


SaintSinner

yup i guess it is too
   


SMF spam blocked by CleanTalk