Hello. Now I'm gonna disturb you one more time =)
I wounder if there is any script who perm ban a user who have been kicked (for example) 5 times. Not any bot who will come to userlist or anything, just a little script who adds itself to PtokaX and ban when it recordnize that a user has been kicked 5 times and auto ban him/her.
Thanks and I hope there is one of these scripts.
Hi,
See this thread (http://board.univ-angers.fr/thread.php?threadid=1499&boardid=11&sid=88c0faa2eab0241a7d7fc02bf856f16d)for a script which might do just what you want... enjoy ;)
Hi,
Mutor you are still using the wrong code that i have modified for saving tables. The erro is here...
Serialize(value, sKey, sTab.."\t");
it should be this...
sTmp = sTmp..Serialize(value, sKey, sTab.."\t");
Best regards, nErBoS
No it didn't work.. anything else?
please, really need this, cos there is many fakers and it's not fun to ban them self..
Is it able to make the command ?kick to !kick ?
just woundering, or else I have to change alot of stuff in my scripts and clients =P
Oh forgot to tell.. I use PtokaX DC Hub 0.3.3.0 build 15.25 [debug]
Okay thanks, now I just have to wait for someone to be kicked and (hopefully) banned after 5 times =P
The script doesn't seems to work..
Hub:
PtokaX DC Hub 0.3.3.0 build 15.25 [debug]
Scripts:
Autocleaner by plop
Brain-Master by nErBoS
Random Chat 1.0 by Mutor The Ugly
Deflood 4.5.3 by plop
"YourIpIs" by ???
RecordBot 0.952 by bonki 2003
ShowInfo 1.0 by latinmusic
"CurrentTime" by ???
And trying to get Ban-4X-Kick 1.0 to work (by Mutor)
please help =P
Err, I didn't really understand that, But I have enabled that CMDs thing and then it comes alot of:
[07:39] STONY (IP) > $ConnectToMe Sebbe IP:PORT|
[07:39] [BoT]Police (IP) > $ConnectToMe [HUN][TUX]Vector512k_UP_search IP:PORT|
[07:39] reteus (IP) > $GetINFO Time:07:39 reteus|
[07:39] jms@proth.com (IP) > $GetINFO Time:07:39 jms@proth.com|
[07:39] sumetto (IP) > $RevConnectToMe sumetto franz|
IP = IP numbers =)
PORT = Port numbers =)
Just wanted those numbers secret =P
Please try to explain more =D
Then I get this (My bot auto kick)
[13:30] [BoT]Police (IP) > $To: ACEDANYBOUCHT From: [BoT]Police $<[BoT]Police> You are being kicked because: Connection timeout 20 times|
[13:30] [BoT]Police (IP) > <[BoT]Police> !kick ACEDANYBOUCHT Connection timeout 20 times|
[13:30] [BoT]Police (IP) > $To: [BoT]Police From: [BoT]Police $<[BoT]Police>
has been kicked ----> Connection timeout 20 times|
[13:30] x User removed: ACEDANYBOUCHT (Socket 760)
No it didn't work =(
After I changed it looks like this:
function DataArrival(user, data)
data=strsub(data,1,-2)
_,_,cmd,unick = strfind( data, "(%S+)%s+(%S+)" )
if cmd == "!kick" and user.bOperator then
Please help =P
Please help, really need this =P
You could try this;function DataArrival(user, data)
data=strsub(data,1,-2)
_,_,cmd,unick = strfind( data, "^%b<>%s(%S+)%s+(%S+).*" )
if cmd == "!kick" and user.bOperator then
A tiny change in reg.exp. ;)
**Edit** another little change