<?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/8185" />

	<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>2004-09-06T13:30:25-04:00</updated>

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

		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-09-06T13:30:25-04:00</updated>

		<published>2004-09-06T13:30:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40645#p40645</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40645#p40645"/>
		<title type="html"><![CDATA[Blacklist with timed expire]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40645#p40645"><![CDATA[
Blargh, don't look at me, i still havent managed to fix my restrictor.tcl script  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mad.gif" width="15" height="15" alt=":x" title="Mad"><br><br>Papillon hasnt responded to my email either <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Sep 06, 2004 1:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-09-06T01:53:40-04:00</updated>

		<published>2004-09-06T01:53:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40624#p40624</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40624#p40624"/>
		<title type="html"><![CDATA[Blacklist with timed expire]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40624#p40624"><![CDATA[
Oh, thats a piece of cake dewd.<br>'caesar' has a tcl I remember I used one named of his named 'blacklist' or something it has a similar feature but for public channels I think or even private messages.<br><br><a href="http://www.r0x0ring.com/dl.php?id=17" class="postlink">http://www.r0x0ring.com/dl.php?id=17</a> (download it and use it!)<br>(It uses newchanban and thats what you need!)<br><br>Coding something simple as this is not a big hassle, even MeTroiD is upto the task and I'm sure he will do it if necessary, right?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Sep 06, 2004 1:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-09-06T01:36:27-04:00</updated>

		<published>2004-09-06T01:36:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40622#p40622</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40622#p40622"/>
		<title type="html"><![CDATA[Blacklist with timed expire]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40622#p40622"><![CDATA[
... What he means is this. <br><br>/msg &lt;bot&gt; blackadd &lt;mask&gt; &lt;channel&gt; &lt;expire&gt; &lt;reason&gt;<br><br>Then if someone is banned on that 1 channel, it bans them when they join, but if that person ISNT banned on a different channel with the bot, it won't do anything.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Sep 06, 2004 1:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-09-06T00:22:31-04:00</updated>

		<published>2004-09-06T00:22:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40609#p40609</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40609#p40609"/>
		<title type="html"><![CDATA[Blacklist with timed expire]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40609#p40609"><![CDATA[
So you just want each channels bans to be active for that channel only right? Meaning that the blacklist should have seperate bans for each channel and the script should *not* enforce the blacklisted bans on all channels? Is this right?!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Sep 06, 2004 12:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tonyokc]]></name></author>
		<updated>2004-08-31T16:19:44-04:00</updated>

		<published>2004-08-31T16:19:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40478#p40478</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40478#p40478"/>
		<title type="html"><![CDATA[Blacklist with timed expire]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40478#p40478"><![CDATA[
It is doing server bans as I want, but placing them in all channels the bot is in. The original TCL has no ability to store channels<br><br>The tcl has these functions:<br><br>set blacklist_file "scripts/dbase/blacklist"<br><br>bind MSG  m|- blacklist    blacklist:list<br>bind MSG  m|- blackadd     blacklist:add<br>bind MSG  m|- blackdel     blacklist:del<br>bind TIME -|- "?0 * * * *" blacklist:sentry<br>bind JOIN -|- *            blacklist:join<br><br>The original tcl took a command of:<br><br>blackadd mask expire reason<br><br>I changed it to:<br><br>blackadd mask channel expire reason<br><br>I have all the functions working except part of the blackadd<br><br>It will add (and store it) correctly if no such mask entry exist<br><br>but fails if add a second entry with same mask but diff channel.<br><br>my first try failed with it just saying mask already exists<br><br>my second way just over wrote the original entry so it was added, but existing was gone.<br><br>the line that creates my problem is:<br><br>if {![info exists blacklist($banmask)]} {<br><br>This takes no consideration for channel, only mask, caused by another line:<br><br>set banmask [blacklist:validate:host [lindex $arguments 0]]<br><br>I need to change the line so that it adds argument 1 to it, the correct syntax for something like:<br><br>set banmask [blacklist:validate:host [lindex $arguments 0]] + &lt;space&gt; + [lindex $arguments 1]<br><br>If you would give me the correct syntax for this, or a better way to check if 2 arguments exist on the same line in the data field<br><br>Thank You,<br><br>Tony<br><br>p.s., I hope this is specific enough<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4907">tonyokc</a> — Tue Aug 31, 2004 4:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-31T08:23:52-04:00</updated>

		<published>2004-08-31T08:23:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40454#p40454</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40454#p40454"/>
		<title type="html"><![CDATA[Blacklist with timed expire]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40454#p40454"><![CDATA[
Well, I don't need any charity money or so, but I will help if it is possible.<br><blockquote class="uncited"><div>I would glady donate $20 to the charity of choice for anyone that can modify blacklist.tcl,v 1.0 by perpleXa to allow it to store channels, instead of global bans.</div></blockquote>Store channels?<br>I think you mean channel specific bans.<br>Do you mean sticky bans?<br><br>See:<br>newban = global ban<br>newchanban = channel specific ban<br><br>Further more, if you just want to ban and kick a person without adding that person or ip in the bots banlist you can use:<br>putserv "MODE $chan +b *!*@host"<br>putserv "KICK $chan $nick :&lt;reason here&gt;"<br><blockquote class="uncited"><div>I tried, and although I could get it to store &amp; kick properly, adding masks that were identical, but for diff channels just replaced the original, instead of adding.</div></blockquote>Then again what are we trying to store over here?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br>Be clear, and a bit more specific.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Aug 31, 2004 8:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tonyokc]]></name></author>
		<updated>2004-08-30T20:24:30-04:00</updated>

		<published>2004-08-30T20:24:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40435#p40435</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40435#p40435"/>
		<title type="html"><![CDATA[Blacklist with timed expire]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40435#p40435"><![CDATA[
Although I am a very proficient (and prolific&lt;grin&gt;) mirc scripter, I know next to nothing about tcl. I wish I knew tcl enough to modify it, but I dont. When it comes to eggie scripts, I am a lowly user, not a creator<br><br>I would glady donate $20 to the charity of choice for anyone that can modify blacklist.tcl,v 1.0 by perpleXa to allow it to store channels, instead of global bans.<br><br>I tried, and although I could get it to store &amp; kick properly, adding masks that were identical, but for diff channels just replaced the original, instead of adding.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4907">tonyokc</a> — Mon Aug 30, 2004 8:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-28T03:17:19-04:00</updated>

		<published>2004-08-28T03:17:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40294#p40294</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40294#p40294"/>
		<title type="html"><![CDATA[Blacklist with timed expire]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40294#p40294"><![CDATA[
See tcl-commands.doc you can change that yourself. Lookup 'newchanban' and 'newban'.<br><br>newchanban = channel specific ban<br>newban = global ban<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sat Aug 28, 2004 3:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tonyokc]]></name></author>
		<updated>2004-08-27T12:12:26-04:00</updated>

		<published>2004-08-27T12:12:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40270#p40270</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40270#p40270"/>
		<title type="html"><![CDATA[Blacklist with timed expire]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40270#p40270"><![CDATA[
The author responded, its an error in his instructions, needed to be entered in a diff format: mask expire reason<br><br>so the TCL works now.<br><br>My only wish now, is that it took channel specific bans, instead of globals<br><br><br>Thanks,<br><br>Tony<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4907">tonyokc</a> — Fri Aug 27, 2004 12:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tonyokc]]></name></author>
		<updated>2004-08-26T22:31:01-04:00</updated>

		<published>2004-08-26T22:31:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40247#p40247</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40247#p40247"/>
		<title type="html"><![CDATA[Blacklist with timed expire]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40247#p40247"><![CDATA[
I have left a message on his website, no response yet<br><br>Thanks,<br><br>Tony<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4907">tonyokc</a> — Thu Aug 26, 2004 10:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-26T20:56:05-04:00</updated>

		<published>2004-08-26T20:56:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40243#p40243</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40243#p40243"/>
		<title type="html"><![CDATA[Blacklist with timed expire]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40243#p40243"><![CDATA[
I can make a simple blacklist script here which will require 2,3 binds and the same no of procedures, very simple indeed by using newchanban or newban.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> <br><br>First I think you should try contacting the author of this script and get response from him as he might be able to assist you as it is him who coded it in the first place.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Aug 26, 2004 8:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tonyokc]]></name></author>
		<updated>2004-08-26T19:10:25-04:00</updated>

		<published>2004-08-26T19:10:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40235#p40235</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40235#p40235"/>
		<title type="html"><![CDATA[Blacklist with timed expire]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40235#p40235"><![CDATA[
I am looking for an external blacklist tcl that expires<br><br>I found at: <a href="http://perplexa.net" class="postlink">http://perplexa.net</a><br><br>#  $Id: blacklist.tcl,v 1.0 2004/08/05 03:13:37 perpleXa Exp $  #<br>#                                                               #<br>#  Message Commands:                                            #<br>#   - blackadd [time] &lt;mask&gt; &lt;reason&gt;                           #<br>#               (ie. 2h, 3d, 1y)                                #<br>#   - blackdel &lt;mask|#id&gt;                                       #<br>#   - blacklist                                                 #<br>#                                                               #<br>###############################################<br><br>When using with no date:<br><br>blackadd *!<a href="mailto:joe@abc.com">joe@abc.com</a> This is a test ban<br><br>it works great<br><br>when trying to add the expire as instructed:<br><br>try 1: blackadd 2d *!<a href="mailto:joe@abc.com">joe@abc.com</a> This is a test ban<br>try 2: blackadd [2d] *!<a href="mailto:joe@abc.com">joe@abc.com</a> This is a test ban<br><br>it goes nuts<br><br>am I reading the instructions wrong? If I am entering it incorrectly, please let me know the proper way to do it<br><br>I need this sort of script, I have bots that are part of a large botnet, and do not wish to take up space in the bots ban list<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4907">tonyokc</a> — Thu Aug 26, 2004 7:10 pm</p><hr />
]]></content>
	</entry>
	</feed>
