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

	<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>2005-03-06T16:34:59-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Kurupt]]></name></author>
		<updated>2005-03-06T16:34:59-04:00</updated>

		<published>2005-03-06T16:34:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47253#p47253</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47253#p47253"/>
		<title type="html"><![CDATA[ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47253#p47253"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pubm - "*http://www.netwars.ru/go.php?login=*" ban:wordproc ban:word {nick uhost hand chan text} {global botnickset reason "You use a forbiden word"set time "60" # in minutesset banmask *!*@[lindex [split $uhost @] 1] # will be *!*@ipnewchanban $chan $banmask $botnick $reason $time</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5355">Kurupt</a> — Sun Mar 06, 2005 4:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2005-03-06T11:30:58-04:00</updated>

		<published>2005-03-06T11:30:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47236#p47236</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47236#p47236"/>
		<title type="html"><![CDATA[ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47236#p47236"><![CDATA[
old and not most efficient code i am sur but should work .. or at least it will put you in the right direction<br><br><a href="http://ftp.ofloo.net/pub/scripts/contrib/badword.tcl.gz" class="postlink">http://ftp.ofloo.net/pub/scripts/contrib/badword.tcl.gz</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Mar 06, 2005 11:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[zlobus]]></name></author>
		<updated>2005-03-06T11:04:16-04:00</updated>

		<published>2005-03-06T11:04:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47235#p47235</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47235#p47235"/>
		<title type="html"><![CDATA[ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47235#p47235"><![CDATA[
i don't think that without any examples i can do it. even with your help. I don't want leatn tcl i just want to create one small script.... maybe something like this is already created... then show me plz.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5437">zlobus</a> — Sun Mar 06, 2005 11:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2005-03-06T10:45:48-04:00</updated>

		<published>2005-03-06T10:45:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47233#p47233</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47233#p47233"/>
		<title type="html"><![CDATA[ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47233#p47233"><![CDATA[
what to do:<br><br>- create a variable list with words using <a href="http://www.tcl.tk/man/tcl8.3/TclCmd/set.htm" class="postlink">set</a><br>- then use <a href="http://eggdrop.ofloo.net/tcl-commands.html#binda" class="postlink">bind pubm</a><br>- match each word using <a href="http://www.tcl.tk/man/tcl8.3/TclCmd/foreach.htm" class="postlink">foreach</a> with  <a href="http://www.tcl.tk/man/tcl8.3/TclCmd/string.htm#M35" class="postlink">string match</a> or <a href="http://www.tcl.tk/man/tcl8.3/TclCmd/regexp.htm" class="postlink">regexp</a> against your list, import this list into your proc using <a href="http://www.tcl.tk/man/tcl8.3/TclCmd/global.htm" class="postlink">global</a><br><br>or read <a href="http://forum.egghelp.org/viewtopic.php?t=9228" class="postlink">this</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Mar 06, 2005 10:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[zlobus]]></name></author>
		<updated>2005-03-06T10:08:24-04:00</updated>

		<published>2005-03-06T10:08:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47231#p47231</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47231#p47231"/>
		<title type="html"><![CDATA[ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47231#p47231"><![CDATA[
i want script to ban user which said *<a href="http://www.netwars.ru/go.php?login=" class="postlink">http://www.netwars.ru/go.php?login=</a>*<br>But i want to be able to change the forbidden word, bantime, banmask and reason.<br>help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5437">zlobus</a> — Sun Mar 06, 2005 10:08 am</p><hr />
]]></content>
	</entry>
	</feed>
