<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/2590" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2002-09-17T15:04:01-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/2590</id>

		<entry>
		<author><name><![CDATA[darko``]]></name></author>
		<updated>2002-09-17T15:04:01-04:00</updated>

		<published>2002-09-17T15:04:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11024#p11024</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11024#p11024"/>
		<title type="html"><![CDATA[Kick Counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11024#p11024"><![CDATA[
err, bind kick should actually check if it was your bot that executed a kick and only then incr kickcnt<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1881">darko``</a> — Tue Sep 17, 2002 3:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darko``]]></name></author>
		<updated>2002-09-17T15:02:47-04:00</updated>

		<published>2002-09-17T15:02:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11023#p11023</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11023#p11023"/>
		<title type="html"><![CDATA[Kick Counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11023#p11023"><![CDATA[
tradergt, just to make my self even more clear: bind kick will help you know what will be the value of the counter for your *next* kick. First kick you allready know will be = 1 <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> So:<br><br>set kickcnt 1<br>bind kick..  {incr kickcnt}<br>bid flud.. {check what flood type and putkick with "Kicked for some-type-of-flood, kick No. $kickcnt}<br><br>You may wonder why bind kick to increase kickcnt when you can simply increase it right after your putkick. Well, someone else could have allready kicked the user that very momment, and eggdrop will still increase kickcnt even tho it wasn't your bot tht made a kick.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1881">darko``</a> — Tue Sep 17, 2002 3:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-16T18:08:12-04:00</updated>

		<published>2002-09-16T18:08:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10982#p10982</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10982#p10982"/>
		<title type="html"><![CDATA[Kick Counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10982#p10982"><![CDATA[
There is no way to detect when a kick is about to happen, either from antoher client or from eggdrop.<br><br>Until the kick happens, any client (eggdrop is a automated client), does not it has or will happen. On top of this, thbere is no way to tell the IRC server to change the message. You would need some form of IRCD service for this (which eggdrop is not).<br><br>Af for knowing is eggdrop is about to make a kick, you caqn replace the puthelp, putserv, putquick, putkick commands, using tcl, and detect if a script is about to make one.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Sep 16, 2002 6:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-16T13:15:06-04:00</updated>

		<published>2002-09-16T13:15:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10965#p10965</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10965#p10965"/>
		<title type="html"><![CDATA[Kick Counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10965#p10965"><![CDATA[
I got that part. I would also have to save it to a file for when the bot goes down. I am gonna write a script to test some theories I and darko have. Just from the documentation saying that kick bind works after a kick happends. Plus, in the event, I will be changing the kick msg as well, and I don't see how thats gonna happen from what  I see...<br><br>but I could be wrong..<br><br>thanks<p>Statistics: Posted by Guest — Mon Sep 16, 2002 1:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2002-09-15T14:03:14-04:00</updated>

		<published>2002-09-15T14:03:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10928#p10928</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10928#p10928"/>
		<title type="html"><![CDATA[Kick Counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10928#p10928"><![CDATA[
Hi. Use the bind kick and increase a variable (like $count) using incr count then do what you want to do with the $count varialbe. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Sep 15, 2002 2:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darko``]]></name></author>
		<updated>2002-09-14T14:14:26-04:00</updated>

		<published>2002-09-14T14:14:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10883#p10883</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10883#p10883"/>
		<title type="html"><![CDATA[Kick Counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10883#p10883"><![CDATA[
Custom script for mIRC does custom kicks with counter within reason part. Custom script for eggdrop will do the same, only you need to make it or find it. In case you decide to make it, keep in mind that bind kick *would* work. Infact, that would be the easiest way to track your own kicks. <br>bind flud would on the other hand be the easiest way to stop eggdrop doing it's job but instead passing control over the current punishemnt method, message, blah, whatever - to you. Only potential problems are non sticky bans that are not on channel but in bots userlist and will become active once user rejoins. But even that part should be possible to work around by using var names in ban reasons. Tho, i am not 100% sure if eggdrop will for some wierd reason prevent you from doing that (it shouldnt).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1881">darko``</a> — Sat Sep 14, 2002 2:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-14T09:18:54-04:00</updated>

		<published>2002-09-14T09:18:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10872#p10872</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10872#p10872"/>
		<title type="html"><![CDATA[Kick Counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10872#p10872"><![CDATA[
bind kick didn't seem like it would work..<br><br><br>I use xtreme for my mirc script. when you kick, it puts the kick msg then ban counter in the kick msg.. thats what I want to do, put a ban counter write into the kick msg on ever kick I do...<p>Statistics: Posted by Guest — Sat Sep 14, 2002 9:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darko``]]></name></author>
		<updated>2002-09-14T07:20:14-04:00</updated>

		<published>2002-09-14T07:20:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10870#p10870</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10870#p10870"/>
		<title type="html"><![CDATA[Kick Counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10870#p10870"><![CDATA[
Well, you cannot precede just any kick, no. But most of the kicks on eggdrop (not counting those done by extern TCL scripts) are triggered by flood. If you read doc/tcl-commands.doc and search for "bind flud" you'll find that it is triggered *before* the usual eggdrop's processing routine. So, there you may put whatever procedure you want. Note that you can return from with with 0 or 1 to achive different post behaviour.<br><br>As for kick counter, there is "bind kick" which would trigger on any kick that occured.<br><br>STOP THE PRESS<br>Breaking News: Eggdrop is GPL so any code or docs with it are free to be used. Please do some reading.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1881">darko``</a> — Sat Sep 14, 2002 7:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-13T21:02:43-04:00</updated>

		<published>2002-09-13T21:02:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10864#p10864</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10864#p10864"/>
		<title type="html"><![CDATA[Kick Counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10864#p10864"><![CDATA[
Is is possible to create a kick counter?? Is there an even thats run for kicks, BEFORE the kick happens?? is it even possible?<br><br>Thanks<p>Statistics: Posted by Guest — Fri Sep 13, 2002 9:02 pm</p><hr />
]]></content>
	</entry>
	</feed>
