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

	<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>2004-02-06T16:23:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-02-06T16:23:48-04:00</updated>

		<published>2004-02-06T16:23:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33298#p33298</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33298#p33298"/>
		<title type="html"><![CDATA[Little Problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33298#p33298"><![CDATA[
I try this, and again my eggdrop shutdown.<br>static int addban_msg (char *nick, char *host, char *handle, char *chan, char *text) <br>{ <br>  Context; <br>  struct chanset_t *c;<br>  c = findchan_by_dname(chan);<br>  u_addban (c, "mtx!*@*", botname, "pub", 0L, 0); <br>  return 0;<br>}<p>Statistics: Posted by Guest — Fri Feb 06, 2004 4:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2004-01-27T06:55:31-04:00</updated>

		<published>2004-01-27T06:55:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32933#p32933</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32933#p32933"/>
		<title type="html"><![CDATA[Little Problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32933#p32933"><![CDATA[
Try using a few more "Context" lines and use the normal eggdrop debugging abilties.<br><br>Another note, why not use the normal Eggdrop newsplit functions provided to get words of on the input.<br><br>newsplit (from the top of my head) will return the first word from the input text, and update the input point to point to the start of the next word.<br><br>So multiple calls to newsplit return a new word each time.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue Jan 27, 2004 6:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-01-27T04:22:12-04:00</updated>

		<published>2004-01-27T04:22:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32924#p32924</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32924#p32924"/>
		<title type="html"><![CDATA[getnomword]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32924#p32924"><![CDATA[
getnomword is my function, to get words after bind.<br>!akick sdf sdfsdf<br>will get sdf<br>Can you help me with this problem ?<p>Statistics: Posted by Guest — Tue Jan 27, 2004 4:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BarkerJr]]></name></author>
		<updated>2004-01-24T23:32:39-04:00</updated>

		<published>2004-01-24T23:32:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32836#p32836</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32836#p32836"/>
		<title type="html"><![CDATA[Little Problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32836#p32836"><![CDATA[
What's getnumword?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2933">BarkerJr</a> — Sat Jan 24, 2004 11:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-01-19T14:18:05-04:00</updated>

		<published>2004-01-19T14:18:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32669#p32669</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32669#p32669"/>
		<title type="html"><![CDATA[Little Problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32669#p32669"><![CDATA[
Hi, i have little problem with my code<div class="codebox"><p>Code: </p><pre><code>static int addban_msg (char *nick, char *host, char *handle, char *chan, char *text){  Context;  memberlist *m;  struct chanset_t *c;  c = findchan_by_dname (chan);  char *p, h[100];  p = strchr (host, '@');  char *bannick = getnumword (text, 1);  if (!sprintf (h, "*!*%s@*", bannick))    return (0);  if (m = isowner (handle))  {//just for test  dprintf (DP_SERVER, "privmsg %s :%s %s\r\n", chan, bannick, h);      u_addban (c, bannick, botname, "pub", now+86400, 0);  }  return (0);}</code></pre></div>#0  0x40301a76 in addban_msg (nick=0x81a2c00 "LinuxLoader", <br>    host=0x81a0730 "~Slackware@127.0.0.1", handle=0x819d998 "*", <br>    chan=0x819daa8 "#liaskovec", text=0x81a2ce8 "fs", u=0x402aad30)<br>    at ../matrix.mod/matrix.c:73<br>This is in my core file.<br>When i type !akick sdfs eggdrop give segmentation fault.<br>Any ideas ?<p>Statistics: Posted by Guest — Mon Jan 19, 2004 2:18 pm</p><hr />
]]></content>
	</entry>
	</feed>
