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

	<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>2003-03-03T09:44:31-04:00</updated>

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

		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2003-03-03T09:44:31-04:00</updated>

		<published>2003-03-03T09:44:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17346#p17346</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17346#p17346"/>
		<title type="html"><![CDATA[Public trigger]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17346#p17346"><![CDATA[
yes, all i'd need are examples... MASSES of examples <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> well, should be at least one example to show how a function works and to see the syntax <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>i'm waiting for your new woobie <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2617">arcane</a> — Mon Mar 03, 2003 9:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[serra]]></name></author>
		<updated>2003-03-03T07:42:57-04:00</updated>

		<published>2003-03-03T07:42:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17338#p17338</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17338#p17338"/>
		<title type="html"><![CDATA[Public trigger]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17338#p17338"><![CDATA[
ppslim, yes. I think you're right! <br><br>The hard think about module programming is to get started, and woobie doesn't help much.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2745">serra</a> — Mon Mar 03, 2003 7:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-03-03T05:39:13-04:00</updated>

		<published>2003-03-03T05:39:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17333#p17333</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17333#p17333"/>
		<title type="html"><![CDATA[Public trigger]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17333#p17333"><![CDATA[
Woobie should include a few more examples, including doing password checks, and even sending botnet messages. As it is, it's not much help.<br><br>The docs state to look at the exported function table, for more things you can do. Jesus, you have to do more than that, you have to then look in the code, to see what they do with half of them. zapf_broad (wtihout looking), what sort of name is that (catch the drift).<br><br>Maybe a small pack of C files/mini modules, designed to give examples, would go a long way.<br><br>IE<br>1: Take a PRIVMSG from a user, to request only a whois on themselves. Show password checking and so on.<br><br>2: The same, but one designed to send and receive the info to a remote bot.<br><br>Yada<br><br>The function table could do with a tiny description next to each too.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Mar 03, 2003 5:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-03-03T02:20:02-04:00</updated>

		<published>2003-03-03T02:20:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17330#p17330</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17330#p17330"/>
		<title type="html"><![CDATA[Public trigger]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17330#p17330"><![CDATA[
Wow, that's cool that some people got some use out of good old sheep.c! I think I'm going to clean it up and add a little bit. Any ideas for what should go into a sample module?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Mar 03, 2003 2:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[UmbraSG]]></name></author>
		<updated>2003-02-26T16:24:28-04:00</updated>

		<published>2003-02-26T16:24:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17118#p17118</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17118#p17118"/>
		<title type="html"><![CDATA[Re: public trigger]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17118#p17118"><![CDATA[
Yeah, I couldn't get it to work either when I first started.  I ended up just having to work off of woobie's code and using sheep.c as a reference, then graduating to gseen and such thrid-party modules.  <br><br>As for public triggers, it's pretty straight forward.<div class="codebox"><p>Code: </p><pre><code>static void pub_triggerme(char* nick, char* host, char* handle, char* chan, char* text){   /* implement me! */}static char* MYMODULE_close(){  /* some code goes here */  del_builtin(H_pub, pub_trig);}cmd_t pub_trig [] = {{"!triggerme", "", pub_triggerme, NULL},{0, 0, 0, 0}};/* in MYMODULE_start function */char* MYMODULE_start(){  /* -----------------------------------------------------------------------------      Be sure to get a pointer to irc_funcs or server_funcs, before calling       H_pub.  I can't remember which it is right now.   --------------------------------------------------------------------------------*/  add_builtin(H_pub, pub_trig);}</code></pre></div>NOTE: I am trying to remember this the best that I can away from my sources, so there may be some incorrect namings and such.  <br><br>Umby.<blockquote class="uncited"><div>hi!<br><br>First i want to thank stdragon for his module-example. It wasn't me who ask for it but it was just what i was looking for, long time ago! I really do apreciate very much this code.<br><br>However I couldn't get it working, even after correcting some minor erros like... a funcion called pub_baa being called by pub_sheep.<br>And also after included module irc.<br><br>The problem is that the bot goes well to irc but when I type !baa on the chan it crashes with a segment violation.<br><br>Can you take a look in it and help me to get this to work? I really need to have this example working to start understanding eggdrop module programming<br><br>thank you very much for your time and atention!<br><br>Pedro</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2047">UmbraSG</a> — Wed Feb 26, 2003 4:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[serra]]></name></author>
		<updated>2003-02-25T21:03:04-04:00</updated>

		<published>2003-02-25T21:03:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17073#p17073</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17073#p17073"/>
		<title type="html"><![CDATA[public trigger]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17073#p17073"><![CDATA[
hi!<br><br>First i want to thank stdragon for his module-example. It wasn't me who ask for it but it was just what i was looking for, long time ago! I really do apreciate very much this code.<br><br>However I couldn't get it working, even after correcting some minor erros like... a funcion called pub_baa being called by pub_sheep.<br>And also after included module irc.<br><br>The problem is that the bot goes well to irc but when I type !baa on the chan it crashes with a segment violation.<br><br>Can you take a look in it and help me to get this to work? I really need to have this example working to start understanding eggdrop module programming<br><br>thank you very much for your time and atention!<br><br>Pedro<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2745">serra</a> — Tue Feb 25, 2003 9:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-07-08T15:30:53-04:00</updated>

		<published>2002-07-08T15:30:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8715#p8715</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8715#p8715"/>
		<title type="html"><![CDATA[Public trigger]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8715#p8715"><![CDATA[
Might be a good idea to depend on the irc module as well <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Wcc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Mon Jul 08, 2002 3:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-07-07T13:03:00-04:00</updated>

		<published>2002-07-07T13:03:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8680#p8680</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8680#p8680"/>
		<title type="html"><![CDATA[Public trigger]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8680#p8680"><![CDATA[
Here, I wrote you a little sample:<br><br><a href="http://stdarg.techmonkeys.org/egg/modules/sheep.c" class="postlink">http://stdarg.techmonkeys.org/egg/modules/sheep.c</a><br><br>It creates a pub bind that responds to things said in the channel.<br><br>I haven't tried compiling it. Just look through the code and hopefully it will give you an idea of how to do it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sun Jul 07, 2002 1:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MORA]]></name></author>
		<updated>2002-06-30T08:10:52-04:00</updated>

		<published>2002-06-30T08:10:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8451#p8451</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8451#p8451"/>
		<title type="html"><![CDATA[Public trigger]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8451#p8451"><![CDATA[
Does anyone have a exsample module that resonds to a public trigger in a channel (Or some URLs to help with module programming) ?<br>I tryied looking at the seen module and got my own compiled, but it dont react on the public command.<br>- its 115lines so pm me if you want to see it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1138">MORA</a> — Sun Jun 30, 2002 8:10 am</p><hr />
]]></content>
	</entry>
	</feed>
