i need a tcl for the following - hope u can help me out ...
1. Kick and ban user for 5mins who repeats 4times in 3secs (Reason : No Repeat Flood)
2. Kick and ban user for 3mins who notice a channel , any kind of notice (Reason : Notice is not allowed here)
3. Kick and ban user for 5mins who use excessive ctrl-coded (Reason : Excessive control codes )
4. Auto reply private msg with the word 'I am an eggdrop bot $version. Please msg my owner $owner if it's important'
5. Ban user who flyby's for 3mins (Reason : Flyby's Punished)
6. Ignore channel banlist request from an unknown user
Though i found some channel protection tcl at the tcl archieve ... i want all of this in one tcl (all-in-one) . Please help
Bleh you just need to use a timer to pushmode and remove the ban whenever you like, 5 mins, 1min, 1day, 1 year etc. Besides there is nothing such as all in one script. It's basically a text file so you can add all your tcl scripts into one file, like I have a 600kb file, or load them seperately in different files.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Actually no it isn't just copy the scripts into 1 file, that would just make editing scripts harder. If you write a script who's purpose is to manage all floods for example then you'll be able to synchronize between the procs (i.e. tcl commands and variables). This way you may be able to have better management of floods.
Well basically all channel flood protections and private protections are already built in the eggdrop i.e. flood-chan, flood-join, flood-ctcp, flood-kick, flood-deop and flood-msg. We can however use TCL to enhance these further and choose our own style how we would like to utilize them.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================
awyeah wrote:Bleh you just need to use a timer to pushmode and remove the ban whenever you like, 5 mins, 1min, 1day, 1 year etc. Besides there is nothing such as all in one script. It's basically a text file so you can add all your tcl scripts into one file, like I have a 600kb file, or load them seperately in different files.
using timers for bans is pointless, eggdrop has timed ban commands for a reason
awyeah wrote:Depends if you want to use newchanban/newban or want to do it your own way, using pushmode +b, putserv +b and then removing it -b with a timer/utimer.
why would you want to do that "your own way"? what's the rationale behind using explicit timer instead of the built-in one? the only functional difference between the two is that chanops can remove a ban which is not on the bot's banlist and it won't be enforced again upon culprit re-entering the channel, but that's hardly the desired behaviour of a protection script which is meant to punish
for the later case you can use a script again that enables chanops known by the bot to be able to remove them. An example would be my banmanger script .
almost everything can be done via scripts and everything can be done (keeping TCP and IRC restrictions in mind) directly modifiing the eggdrop source ^-^. Its just a matter of effort.