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

	<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>2002-12-19T21:44:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-12-19T21:44:46-04:00</updated>

		<published>2002-12-19T21:44:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14436#p14436</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14436#p14436"/>
		<title type="html"><![CDATA[adding linknet-mode +S by patching source?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14436#p14436"><![CDATA[
There is currently no module interface to add new modes. You have to  patch the source. 1.7 will (hopefully) introduce new mode parsing code which will not require eggdrop to have the (meaning of a) mode hard-coded. As for the required steps for adding a new mode to the source, have a look at <a href="http://www.eggheads.org/pub_archive/changes/2002-April/001060.html" class="postlink">http://www.eggheads.org/pub_archive/cha ... 01060.html</a> .<br><br>Wcc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Thu Dec 19, 2002 9:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Photon]]></name></author>
		<updated>2002-12-17T13:23:33-04:00</updated>

		<published>2002-12-17T13:23:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14341#p14341</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14341#p14341"/>
		<title type="html"><![CDATA[adding linknet-mode +S by patching source?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14341#p14341"><![CDATA[
As far as I can tell (after a quick skim of the code) these values are only used within eggdrop itself (the modes are passed to eggdrop in text format). Each one of the modes is a single bit, so that it can be tested against with just an and - this also means there is only one left. <br><br>If the above means nothing to you, give up now.<br><br>However I will warn you that you are entering a world of pain. For starters you will not be able to update your eggdrop again, without getting the new source and re-patching it, for starters (and just you wait till version 1.7 appears) - and thats not even mentioning the task which you have set yourself - you have to monitor the mode as well as set it, remember...<br><br>I would heartily reccomend doing it as a script - if you really want to code in C, do it as a module - its easy enough to do, doesnt really warrant having to hack the bot, and I guarantee will be done one heck of a lot quicker, and be more stable in the end.<br><br>Good luck, whichever you choose<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1824">Photon</a> — Tue Dec 17, 2002 1:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-12-17T12:49:01-04:00</updated>

		<published>2002-12-17T12:49:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14339#p14339</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14339#p14339"/>
		<title type="html"><![CDATA[adding linknet-mode +S by patching source?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14339#p14339"><![CDATA[
hi,<br>in first place i planned to write a little tcl-script for missing chan-modes, but maybe its not so hard to add modes by patching the source. i just need some info about those values:<br>for example:<br> #define CHANNOCLR  0x0400/* +c -- bahamut*/<br> #define CHANREGON  0x0800/* +R -- bahamut*/<br> #define CHANMODR   0x1000/* +M -- bahamut*/<br>...<br><br>is 0x0400 used by the server or is it an internal eggdrop-value?<br>and if its just an internal value (i guess then its some sort of priority), what is important when defining such a value?<br><br>thx in advance.<p>Statistics: Posted by Guest — Tue Dec 17, 2002 12:49 pm</p><hr />
]]></content>
	</entry>
	</feed>
