please may I ask for your help
 

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

please may I ask for your help

Started by peter, 09 March, 2004, 03:57:22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

peter

hello,

I'm sorry if this is a repost. I have tried to search the forum and also out on DC but not being able to find what I wish.

I wonder if one of you knows a script that upon connect disconnect users not having a "on topic" description in their SETTINGS - DESCRIPTION line, for example "topic1, topic2, topic3" etc. I know there are some general all in one scripts out there including this feature but I don't know how to get it into a stand alone single script and also I don't know if it is proper to do it.

It would also be good if this script had a line that tells people why they have been disconnected. A kind of disconnect message.

Thanks for any help!

Creator

I hope this is wat you are looking for
-----------------------------------------------

               BotName = "(**BioProtectBot**)"

forbiddenLinks =
{
"$ $ [at] [dot]",
" $ $ dot com",
"-site.tk",
"-SITE.TK",
"kakmonster.com",
"dcgui.berlios.de",
"dc.ketelhot.de",
"casper.el1t3.org",
"members.lycos.co.uk",
"soetast.com"
}

function NewUserConnected(curUser)

               for key,checkWord in forbiddenLinks do

               if strfind(curUser.sMyInfoString, checkWord, 1, 1) then
SendToNick(curUser.sName, "<" ..BotName .."> *** You are using unauthorized discription sorry !!! Take a nother discription and reconnect !!!")
      curUser:TimeBan(1)

      end
   end
end


Greetz Creator
!!! Bye bye sukkers i?m taking over !!!
!!!!!!! (BC)*Biohazard clan*(NL) !!!!!!!

SMF spam blocked by CleanTalk