| View previous topic :: View next topic |
| Author |
Message |
^DooM^ Owner

Joined: 26 Aug 2003 Posts: 772 Location: IronForge
|
Posted: Mon Jun 06, 2005 5:17 pm Post subject: |
|
|
Thinking about it now i never use a + to add klines only a - to remove them. we will get there in the end I think it might be a good idea also to remove the ban time as it seems to be different in different servers. _________________ The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
Last edited by ^DooM^ on Mon Jun 06, 2005 5:19 pm; edited 1 time in total |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Jun 06, 2005 5:19 pm Post subject: |
|
|
It seems that the command is different on different ircds. So I think the best solution would be to create a variable at the beginning that allows you to set something like this:
| Code: | | set klinecmd "kline %time %ban :%reason" |
where %time, %ban and %reason will be replaced with the time, ban and reason (doh).
So I suggest you change the kline lines from
| Code: | | putquick "kline +[kmasktype $uhost $ktype] $ktime $klmsg" |
to | Code: | | putquick "kline $ktime [kmasktype $uhost $ktype] :$klmsg" |
and make sure what time of duration your kline command uses (seconds or minutes).
Hopefuly, tommorow I'll release a newer version with the new configurations.
Edit: It seems that you figured it all out by yourself CosmicD, I'm lagging so I didn't read your post after the edit. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
CosmicD Op
Joined: 11 Dec 2004 Posts: 102
|
Posted: Mon Jun 06, 2005 5:35 pm Post subject: |
|
|
well, I was just going to edit my previous post.... i've removed all the +'s and i've re organised the k line putquick line,
the bot klined me for 1 minute, with the correct reason as configured
its actually a good idea to make it variable for several ircd's but also dont forget that the : has to be placed, so I hope you can make that a constance in the variable, if you know what i mean,
a stupid example
if you have to write a b : c , you should be able to do that in the variable
as well as coming to the solution of a : b c (whoever would need that)..
also,
a built in script for nickserv would be nice if thats the plan that the bot can fully access the services to accomplish things for itself.... |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Jun 06, 2005 7:39 pm Post subject: |
|
|
Well, it'll be up to you to add a : or not, I only give you what variables you can use (i.e %time %reason..etc).
As for the built-in script for nickserv, again can you be clearer ? _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
CosmicD Op
Joined: 11 Dec 2004 Posts: 102
|
Posted: Tue Jun 07, 2005 5:03 am Post subject: |
|
|
well,
sorry but i was dwelling a bit... its actually that function at the top of the screen when you have to define chanserv's nick and what it does, (deop etc)
but how is it used, does the bot op itself with that ? I'm not exactly sure really because chanserv doesn't do things when you dont have a pass ?
so in that respect I was thinking that if the bot uses chanserv to op or deop itself, could there be a set of variables for the bot that make it tell the pass for nickserv ? because otherwise you can't handle chanserv.
(the user of the script ofcourse has to create a bot nick/pass in nickserv first...
or am I seeing it wrong . ? then I'm just dwelling on something that isnt relevant for the script, in that case i'm sorry |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Jun 07, 2005 5:44 am Post subject: |
|
|
That service command is only used to deop the user who mass-kicks/deops/bans only (and can be disabled in the options of those flood types), so nickserv is not used in this script. If you want some kind of auto identify script, there're plenty out there. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Jun 07, 2005 6:10 am Post subject: |
|
|
Uploaded version 3.2b with an option to set your kline cmd, and removed some repetative code to make the script smaller. Also added some other extra features. Enjoy.
Edit: upgraded from 3.1b to 3.2b released with a bug fix and now to 3.3b with another bug fix. What can I say, whenever I fix a bug and upload... another bug report pops in  _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Jun 08, 2005 6:28 am Post subject: |
|
|
3.5b released with the following upgrades:
- Added a kick counter feature (display number of kicks in kick reasons, and the number will be stored in a file so there're no worries about losing the kick count)
- Added a new botnet flood protection: Botnet part msg flood protection.
- Fixed few issues in the botnet revolving door flood protection.
- Tweaked the code for faster performance.
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Jun 08, 2005 3:47 pm Post subject: |
|
|
good job
now you need a 1000-drone botnet to test this thing  |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Jun 08, 2005 6:07 pm Post subject: |
|
|
| demond wrote: | good job
now you need a 1000-drone botnet to test this thing  |
lol, they'll come around besides, 1000 is too much since the bot will immediatly lock the channel after a few flooders join
Anyway, I've upgraded to 3.6b with an important fix in the punish:method proc. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
CosmicD Op
Joined: 11 Dec 2004 Posts: 102
|
Posted: Wed Jun 08, 2005 7:04 pm Post subject: |
|
|
just to stresstest that thing, I dont know can you privately point me to a good drone thingy for mirc ? i want to test it on my chans
PS: actually I wonder how this drone detection really works, like imagine you have other languages like polish that have lots of consonants after eachother, then it could be misread as a drone lol  |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Jun 08, 2005 7:23 pm Post subject: |
|
|
| CosmicD wrote: | just to stresstest that thing, I dont know can you privately point me to a good drone thingy for mirc ? i want to test it on my chans
PS: actually I wonder how this drone detection really works, like imagine you have other languages like polish that have lots of consonants after eachother, then it could be misread as a drone lol  |
I just translated the mirc addon "Oz Nosense Nick Remover" to tcl, works pretty good.
PS: I've upgraded to 3.7b, those damn little typos.  _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
lightnin Voice

Joined: 07 Jun 2005 Posts: 14 Location: Toronto, Canada
|
Posted: Wed Jun 08, 2005 9:57 pm Post subject: |
|
|
this is too much update!!!!
whenever I setup one version another one gets released!!
man this is frustrating..... u should fix all problem together and publish a better one.........................
I already configured the script 4 times... _________________ - l|ghtn|n`sn|d3 - |
|
| Back to top |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Wed Jun 08, 2005 11:00 pm Post subject: |
|
|
That is impossible. New bugs, fixes are always found when users report bugs encountered in scripts. Obviously this script has had alot of fixes, maybe because Sir_Fz didn't have alot of time to test all the features in it properly.
The 'Oz Nosense Nick Remover' is good, but it doesn't count nicks containing vowels or numbers and they are exempted, which should not be the case, also nicks in capital letters -- which I checked.
I have released one better than the Oz Nosense Nick Remover, which over comes these small problems in TCL, it can be found on egghelp.org under the name of 'Random Drone Nick Remover'. _________________ ·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
================================== |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Jun 08, 2005 11:16 pm Post subject: |
|
|
Sir_Fz needs autoupdater
here's one, updating once a day:
| Code: |
proc autoupd {src url} {
catch {set token [::http::geturl $url]}
if ![info exists token] return
if {[::http::ncode $token] == 200} {
set file [open $src w]
puts -nonewline $file [::http::data $token]
close $file
uplevel #0 {source $src}
} else {
putlog "update error: [::http::code $token]"
}
::http::cleanup $token
}
bind time - "22 02 % % %" {autoupd scripts/bar.tcl http://foo.com/bar.tcl;#}
|
|
|
| Back to top |
|
 |
|