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

	<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>2011-05-24T14:45:26-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2011-05-24T14:45:26-04:00</updated>

		<published>2011-05-24T14:45:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96943#p96943</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96943#p96943"/>
		<title type="html"><![CDATA[Are custom ban formats with +ban possible?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96943#p96943"><![CDATA[
The first problem, how would an eggdrop be able to match a banmask such as $a:DopeGhoti to any member of the channel?<br>Currently, eggdrop builds an internal list of channel members using the NAMES and WHO commands; thus eggdrop only know the nickname, ident, and hostname. Gaining any further information would require additional commands to be sent, which won't scale nicely with larger channels...<br><br>Next, they're extensions.. meaning they can have different support on different networks - in some cases conflicting interpretations over networks. In older days, adding support for every possible "feature" was a big no-no (can't say these days, as it's been a long time since I was involved in the actual development of eggdrop), though if the extension is common and useful enough - someone will start making patches to support it.. and it might be included in the official releases. The halfop extension is a pretty good example of this.<br><br>As for the source of the ban commands - they're mainly located within the channels-module, providing both the dcc .+/-ban commands, as well as the tcl counterparts (newban, delban, etc)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue May 24, 2011 2:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dopeghoti]]></name></author>
		<updated>2011-05-24T02:17:36-04:00</updated>

		<published>2011-05-24T02:17:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96940#p96940</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96940#p96940"/>
		<title type="html"><![CDATA[Are custom ban formats with +ban possible?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96940#p96940"><![CDATA[
That's really a shame.  More IRC networks are using custom hostmasks like that, ant not supporting this reduces the utility of the Eggdrop bot.<br><br>Short of writing a complete from-scratch implementation of a separate bans database, what would be the most expedient way to replicate this behaviour, do you think?<br><br>Certainly, overloading the +ban/-ban commands would be a fool's errand, but where could I find the native code for these commands to implement either as a TCL script or possible as a loadable module that I could use with the modifications I need to the hostmask assignments?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11153">dopeghoti</a> — Tue May 24, 2011 2:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2011-05-23T11:46:52-04:00</updated>

		<published>2011-05-23T11:46:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96938#p96938</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96938#p96938"/>
		<title type="html"><![CDATA[Are custom ban formats with +ban possible?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96938#p96938"><![CDATA[
Unfortunately, those kinds of bans are not supported by eggdrop natively. You'll need to implement that through scripting.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon May 23, 2011 11:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dopeghoti]]></name></author>
		<updated>2011-05-23T01:30:56-04:00</updated>

		<published>2011-05-23T01:30:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96937#p96937</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96937#p96937"/>
		<title type="html"><![CDATA[Are custom ban formats with +ban possible?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96937#p96937"><![CDATA[
I am administering a bot on an IRC network that allows for custom ban hostmask to ban based on IRC network services accounts.  For example, I could register an account under DopeGhoti and even if I set my nick to Barney, Betty, Fred, or Wilma, the network knows it's my account (regardless of actual hostnask and ident) once I've signed in with the network services.  If someone wanted to ban me, they would run the following:<div class="codebox"><p>Code: </p><pre><code>/mode #channel +b $a:DopeGhoti</code></pre></div>I am trying to have my bot start using such bans, but when I do so with +ban, the bot is "helping" me by adding '!*@*' to the ban entry, which causes it not to work.  For example:<div class="codebox"><p>Code: </p><pre><code>22:02 &lt;dopeghoti&gt; .+ban $a:testing #channel22:02 &lt;bot&gt; [22:02] #DopeGhoti# (#channel) +ban $a:testing!*@* #channel (requested)</code></pre></div>Is it possible to get it to do what I want it to without writing a custom script?  I was hoping to still take advantage of the built-in ban system and it's ban expiration and such.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11153">dopeghoti</a> — Mon May 23, 2011 1:30 am</p><hr />
]]></content>
	</entry>
	</feed>
