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

	<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-10-22T09:47:34-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-10-22T09:47:34-04:00</updated>

		<published>2004-10-22T09:47:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42089#p42089</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42089#p42089"/>
		<title type="html"><![CDATA[blacklist script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42089#p42089"><![CDATA[
You can define any user flag which is not already in use by the bot and other scripts, it doesn't always have to be +k.<br><br>What I think caesar wanted to say was:<br><div class="codebox"><p>Code: </p><pre><code>if {([matchattr $hand k|k $chan])} { newchanban ............................. }</code></pre></div>If user matches that flag, go ahead and ban that user. The script would be binded on join, also can be binded on splt.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Fri Oct 22, 2004 9:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-10-21T10:43:14-04:00</updated>

		<published>2004-10-21T10:43:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42063#p42063</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42063#p42063"/>
		<title type="html"><![CDATA[blacklist script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42063#p42063"><![CDATA[
You could try something like this?<br><div class="codebox"><p>Code: </p><pre><code>bind pub m !blacklist pub:blackproc pub:black {nick host hand chan text} {set victim [lindex $text 0]if {$victim == ""} {putquick "NOTICE $nick :Please choose a target first."; return}if {![validuser blackl]} {adduser blacklchattr blackl +dk}addhost blackl [maskhost [getchanhost $victim]]putquick "NOTICE $nick :Done. $victim was added to the blacklist - His host was [maskhost [getchanhost $victim]]"newban [maskhost [getchanhost $victim]] Bot Blacklist 0}</code></pre></div>Its untested as i just wrote it in this window :p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Thu Oct 21, 2004 10:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[WeiJie]]></name></author>
		<updated>2004-10-21T00:56:54-04:00</updated>

		<published>2004-10-21T00:56:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42044#p42044</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42044#p42044"/>
		<title type="html"><![CDATA[blacklist script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42044#p42044"><![CDATA[
<blockquote class="uncited"><div>Set +k as a new blacklist user mode (if +k is not already a defined flag in the bot). If it is not defined then define it in a tcl. And when users join (bind join and bind splt), check their handle if their global/channel flags match +k use 'newchanban' as mentioned above with time '0' to ban them, else return 0. You can specify the kick/ban reason in newchanban to be whatever you want it to be.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"></div></blockquote>How do I set a newchanban if I've chattr the particular a +k?<br>As I don't really get it... It's something that can solved in DCC chat or TCL?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4964">WeiJie</a> — Thu Oct 21, 2004 12:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-09-06T00:38:28-04:00</updated>

		<published>2004-09-06T00:38:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40611#p40611</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40611#p40611"/>
		<title type="html"><![CDATA[blacklist script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40611#p40611"><![CDATA[
Set +k as a new blacklist user mode (if +k is not already a defined flag in the bot). If it is not defined then define it in a tcl. And when users join (bind join and bind splt), check their handle if their global/channel flags match +k use 'newchanban' as mentioned above with time '0' to ban them, else return 0. You can specify the kick/ban reason in newchanban to be whatever you want it to be.  <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> — Mon Sep 06, 2004 12:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[WeiJie]]></name></author>
		<updated>2004-09-02T19:58:50-04:00</updated>

		<published>2004-09-02T19:58:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40551#p40551</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40551#p40551"/>
		<title type="html"><![CDATA[blacklist script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40551#p40551"><![CDATA[
Hmmm... Could i specify a reason for the ban if i set +k to a particular user?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4964">WeiJie</a> — Thu Sep 02, 2004 7:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-02T14:57:40-04:00</updated>

		<published>2003-10-02T14:57:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27846#p27846</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27846#p27846"/>
		<title type="html"><![CDATA[blacklist script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27846#p27846"><![CDATA[
Use a bind join for the +k users then use the newchanban to place the channel bans as you wish.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Oct 02, 2003 2:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-10-02T14:18:17-04:00</updated>

		<published>2003-10-02T14:18:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27843#p27843</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27843#p27843"/>
		<title type="html"><![CDATA[blacklist script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27843#p27843"><![CDATA[
use <strong class="text-strong">newchanban</strong> and set its ban-time to 0, which means permamnent shitlist (unless you want it to be cleared after an interval of minutes)<br><br>read tcl-commands.doc in your eggdrops doc/ dir so you'd find more info about the newchanban command and the newban command<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Oct 02, 2003 2:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Darkj]]></name></author>
		<updated>2003-10-01T19:01:09-04:00</updated>

		<published>2003-10-01T19:01:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27816#p27816</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27816#p27816"/>
		<title type="html"><![CDATA[blacklist script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27816#p27816"><![CDATA[
To get you started here are some good tutorials:<br><a href="http://www.suninet.nl/tclguide/" class="postlink">SUNiNET TCL Guide</a><br><a href="http://www.tcl.tk/man/tcl8.4/" class="postlink">TCL Man Pages</a><br><br>Guess what i editted<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3459">Darkj</a> — Wed Oct 01, 2003 7:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[inferno]]></name></author>
		<updated>2003-10-01T16:32:12-04:00</updated>

		<published>2003-10-01T16:32:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27808#p27808</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27808#p27808"/>
		<title type="html"><![CDATA[blacklist script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27808#p27808"><![CDATA[
hey there,<br>i need some 1 plz to write me a script tthat will auto add the user on the eggy shitlist when it bans him<br>like .chattr $nick +k<br>and if possible let the reason be : Shitlisted Flooder host<br>so when the eggy ban a user it will auto add him on shitlist for ever<br>with this reason.<br>thanks  <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=3287">inferno</a> — Wed Oct 01, 2003 4:32 pm</p><hr />
]]></content>
	</entry>
	</feed>
