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

	<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-01-15T00:43:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2005-01-15T00:43:32-04:00</updated>

		<published>2005-01-15T00:43:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45405#p45405</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45405#p45405"/>
		<title type="html"><![CDATA[Patch Request: disabling various default actions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45405#p45405"><![CDATA[
as demond stated in that other thread, bind to raw and return 1 (ignore) on whatever you want.<br><br>an example of ignoring any banmask which matches its own (with flawed ban matching  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed">. didnt test it much so its probably gonna break some other stuff too  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_twisted.gif" width="15" height="15" alt=":twisted:" title="Twisted Evil">  ):<br><div class="codebox"><p>Code: </p><pre><code>bind RAW - MODE check:banproc check:ban { f k args } {  set pm "" ; set mt 0  set a [lindex $args 0]  set m [join [lindex [split $a] 1]]  set n [join [lrange [split $a] 2 end]]  for {set i 0} {$i&lt;[string length $m]} {incr i} {    set c [string index $m $i]    if {$c == "+"||$c == "-"} { incr mt ; set pm $c ; continue }    if {![string match *$c* bovhlek]} {incr mt}    set tm "$pm$c" ; set v [join [lindex [split $n] [expr $i - $mt]]]    if {$tm=="+b"} {      if [string match -nocase $v $::botname] { return 1 }    }  }  return}</code></pre></div>edits: broken english<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Sat Jan 15, 2005 12:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-01-14T22:33:27-04:00</updated>

		<published>2005-01-14T22:33:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45402#p45402</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45402#p45402"/>
		<title type="html"><![CDATA[Patch Request: disabling various default actions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45402#p45402"><![CDATA[
You asked about disabling eggdrops' defaults in another forum and were given solutions I believe.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Fri Jan 14, 2005 10:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Exlax]]></name></author>
		<updated>2005-01-14T22:16:30-04:00</updated>

		<published>2005-01-14T22:16:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45400#p45400</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45400#p45400"/>
		<title type="html"><![CDATA[Patch Request: disabling various default actions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45400#p45400"><![CDATA[
Hi, I am requesting that soembody make a patch for me which would disable any built-in default actions. The only 1 I know of is:<br><br>Unbanning any banmask that matches its own<br><br>But if possible, I would like the patch to disable any others that exist. I will be greatly appreciative to anybody who can help me out here<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5794">Exlax</a> — Fri Jan 14, 2005 10:16 pm</p><hr />
]]></content>
	</entry>
	</feed>
