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

	<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>2008-12-13T00:07:53-04:00</updated>

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

		<entry>
		<author><name><![CDATA[tekster]]></name></author>
		<updated>2008-12-13T00:07:53-04:00</updated>

		<published>2008-12-13T00:07:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86223#p86223</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86223#p86223"/>
		<title type="html"><![CDATA[tcl/php pack to display phpBB board messages in #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86223#p86223"><![CDATA[
i know noone has probably messed with this too much in recent times, but would anyone know if this would work with phpbb3 with minor changes?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7953">tekster</a> — Sat Dec 13, 2008 12:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AxS]]></name></author>
		<updated>2008-11-27T12:05:03-04:00</updated>

		<published>2008-11-27T12:05:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85980#p85980</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85980#p85980"/>
		<title type="html"><![CDATA[tcl/php pack to display phpBB board messages in #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85980#p85980"><![CDATA[
The creator of the script <strong class="text-strong">Garp</strong> has sadly passed away.  Wish his soul well.<br><br><a href="http://www.myriaden.de/garp/" class="postlink">http://www.myriaden.de/garp/</a><br><br>So as a result the development has stopped for this script unless someone talented in scripting can pick up where he left off.  Or if a bunch of peeps put their talents together to keep his script alive.  That would be special.<br><br>peace<br><br>If anyone has a copy of his last version can you please pm me as all links don't work anymore.  Thanx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2989">AxS</a> — Thu Nov 27, 2008 12:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2008-08-18T12:05:47-04:00</updated>

		<published>2008-08-18T12:05:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84663#p84663</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84663#p84663"/>
		<title type="html"><![CDATA[tcl/php pack to display phpBB board messages in #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84663#p84663"><![CDATA[
Yes!, <a href="http://forum.egghelp.org/search.php" class="postlink"><strong class="text-strong">Here</strong></a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Mon Aug 18, 2008 12:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eggman]]></name></author>
		<updated>2008-08-18T10:37:08-04:00</updated>

		<published>2008-08-18T10:37:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84661#p84661</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84661#p84661"/>
		<title type="html"><![CDATA[download link not working - anyone?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84661#p84661"><![CDATA[
anyone have a location I can download this from?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10126">eggman</a> — Mon Aug 18, 2008 10:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2008-08-17T02:56:26-04:00</updated>

		<published>2008-08-17T02:56:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84630#p84630</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84630#p84630"/>
		<title type="html"><![CDATA[tcl/php pack to display phpBB board messages in #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84630#p84630"><![CDATA[
some update of this tcl for phpbb3 ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Sun Aug 17, 2008 2:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Garp]]></name></author>
		<updated>2006-06-17T05:38:13-04:00</updated>

		<published>2006-06-17T05:38:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64117#p64117</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64117#p64117"/>
		<title type="html"><![CDATA[tcl/php pack to display phpBB board messages in #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64117#p64117"><![CDATA[
<a href="http://phpbb2egg.pixelsndots.com/phpbb2egg.zip" class="postlink">http://phpbb2egg.pixelsndots.com/phpbb2egg.zip</a> is working again.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3849">Garp</a> — Sat Jun 17, 2006 5:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[The_Sorcerer]]></name></author>
		<updated>2006-06-17T00:47:19-04:00</updated>

		<published>2006-06-17T00:47:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64115#p64115</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64115#p64115"/>
		<title type="html"><![CDATA[tcl/php pack to display phpBB board messages in #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64115#p64115"><![CDATA[
All those URLS come back as 404 error Page not found<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7880">The_Sorcerer</a> — Sat Jun 17, 2006 12:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Garp]]></name></author>
		<updated>2006-05-30T15:22:42-04:00</updated>

		<published>2006-05-30T15:22:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63569#p63569</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63569#p63569"/>
		<title type="html"><![CDATA[tcl/php pack to display phpBB board messages in #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63569#p63569"><![CDATA[
try sleep(2) instead of usleep<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3849">Garp</a> — Tue May 30, 2006 3:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dotslasher]]></name></author>
		<updated>2006-05-25T06:54:38-04:00</updated>

		<published>2006-05-25T06:54:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63366#p63366</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63366#p63366"/>
		<title type="html"><![CDATA[tcl/php pack to display phpBB board messages in #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63366#p63366"><![CDATA[
I keep getting the "Lost connection while identing"<br><br>I have changed usleep to all sorts of values, nothing work.<br><br>any suggestions?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3637">dotslasher</a> — Thu May 25, 2006 6:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Garp]]></name></author>
		<updated>2006-04-07T21:23:20-04:00</updated>

		<published>2006-04-07T21:23:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61736#p61736</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61736#p61736"/>
		<title type="html"><![CDATA[phpbb2egg package improved]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61736#p61736"><![CDATA[
I did some work on the phpbb2egg pack and would like to get some comments on it.<br><br>phpbb2egg.tcl:<br><div class="codebox"><p>Code: </p><pre><code>listen 7777 script phpbb2eggaccept pubset check(pass) "agoodpasshere"proc phpbb2eggaccept {idx} {control $idx phpbbincoming}proc phpbbincoming {idx args} {global checkset args [join $args]set inc(pass) [lindex [split $args] 0]set inc(chan) [lindex [split $args] 1]set inc(message) [join [lrange [split $args] 2 end]] if { $inc(message) != ""} {  killdcc $idx } if {[string match [md5 $check(pass)] $inc(pass)]} {  set line [split $inc(message) ";"]   foreach line $line {    putserv "PRIVMSG $inc(chan) :\00304$line"   } } else { return 0 }}putlog "\00312phpbb2egg.tcl beta 0.0.2"</code></pre></div>phpbb2egg.php:<div class="codebox"><p>Code: </p><pre><code>&lt;?php$bb2egg['channel'] = "#your_channel";$bb2egg['ids'] = "4 5 6 7 8"; // forums to display posts from$bb2egg['botip'] = "255.255.255.255"; // your bot's ip$bb2egg['botport'] = "7777"; // a nice port$bb2egg['boardurl'] = "www.yourdomain.com";$bb2egg['pass'] = "agoodpasshere";function send2egg($mode, $forumid, $topic_id, $user_id, $subject, $message, $poll_title){### echo "$mode, $forumid, $topic_id, $user_id, $subject, $message, $poll_title";        global $userdata, $bb2egg;        // something to do?        if ( check_id($forumid) == 0 )        {        return;        }        $nick = $userdata[$user_id];        if ( $nick == "" ) { $nick = "A Guest"; }//strip BBCode off        $message = preg_replace("#\[(.*?)]#si", "", $message);        // shorten longer postings to 300 signs        $text = wordwrap($message, 300, "\0") . ' ...';//here we ask for several cases and do some formating stuff with tcl readable colors.if ( $poll_title != '' ){$text2  = "\00300,02 New poll! \00301,99 on our board:&lt;br&gt;";}else if ( $mode == 'newtopic' ){$text2  = "\00300,02 New topic! \00301,99 on our board:&lt;br&gt;";}else{$text2  = "\00300,02 Fresh! \00301,99 from our board:&lt;br&gt;"; }        if ( $poll_title != '' )        {        $text2  .= "\00300,04 $nick \00302,99 asks: $poll_title &lt;br&gt;";        } else if ( $subject != '' ) {        $text2  .= "\00300,04 $nick \00302,99 about the subject $subject :&lt;br&gt;";        $text2 .= "\00302,99$message &lt;br&gt;";        }        else        {        $text2  .= "\00300,04 $nick".":";        $text2 .= "\00302,99$message &lt;br&gt;";        }        $text2 .= "Link: \037\00312,99" . $bb2egg['boardurl'] . "/viewtopic.php?t=$topic_id\003\037\ ";        phpbb2egg($text2);}function phpbb2egg($text){global $bb2egg;        if ( $text == '') {        return;        }        $text = ereg_replace(";", ":", $text);        $text = ereg_replace("&lt;br&gt;", ";", $text);            $fp = fsockopen($bb2egg['botip'], $bb2egg['botport'], $errno, $errstr, 30);            if ($fp) {                fputs($fp, md5($bb2egg['pass']) ." ". $bb2egg['channel'] ." $text\n");                usleep(500);                fclose($fp);            }}function check_id($current){global $bb2egg;        $forumids=explode(" ", $bb2egg['ids']);        while ( list($n, $id) = each($forumids))        {            if ($id == $current)            {return 1;            }        }        return 0;}?&gt;</code></pre></div>the zip file with a Readme ( adding stuff to posting.php in phpbb and some maybe useful remarks) are availible here : <a href="http://phpbb2egg.pixelsndots.com/phpbb2egg.zip" class="postlink">http://phpbb2egg.pixelsndots.com/phpbb2egg.zip</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3849">Garp</a> — Fri Apr 07, 2006 9:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[falcon69]]></name></author>
		<updated>2005-08-13T03:37:44-04:00</updated>

		<published>2005-08-13T03:37:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54164#p54164</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54164#p54164"/>
		<title type="html"><![CDATA[tcl/php pack to display phpBB board messages in #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54164#p54164"><![CDATA[
<blockquote class="uncited"><div>i found the error, but i don't know how to correct... <br>can you give me a light <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><br>error: <strong class="text-strong">Tcl error [phpbb2eggincoming]: invalid idx</strong></div></blockquote>theres plenty of topics on this out there...but i cant seem to find a fix for it...any ideas?? anyone??? please???<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6592">falcon69</a> — Sat Aug 13, 2005 3:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cambodia]]></name></author>
		<updated>2005-03-18T15:28:57-04:00</updated>

		<published>2005-03-18T15:28:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47864#p47864</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47864#p47864"/>
		<title type="html"><![CDATA[tcl/php pack to display phpBB board messages in #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47864#p47864"><![CDATA[
do this work with php 2.0.10 ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5351">cambodia</a> — Fri Mar 18, 2005 3:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Xandor]]></name></author>
		<updated>2005-03-14T11:06:27-04:00</updated>

		<published>2005-03-14T11:06:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47629#p47629</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47629#p47629"/>
		<title type="html"><![CDATA[tcl/php pack to display phpBB board messages in #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47629#p47629"><![CDATA[
It works in the 2.0.13 but i found i needed to change one more thing in the "phpbb2egg.php".<br>find the following (line 14):<br><div class="codebox"><p>Code: </p><pre><code>$nick = $userdata[user_id];</code></pre></div>and change it to<div class="codebox"><p>Code: </p><pre><code>$nick = $userdata[username];</code></pre></div><br>it needs to be $userdata[username] or it wont find the username, and only post the user's ID.<br>i'm working a little on trying to improve the script a little. I'll post it here when/if i get it done <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6072">Xandor</a> — Mon Mar 14, 2005 11:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AxS]]></name></author>
		<updated>2004-10-26T20:26:46-04:00</updated>

		<published>2004-10-26T20:26:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42257#p42257</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42257#p42257"/>
		<title type="html"><![CDATA[tcl/php pack to display phpBB board messages in #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42257#p42257"><![CDATA[
Anyone managed to fix this script so that it works with phpBB 2.0.10 ?  I have a no go and as user said...as is, it seems not workable - can someone fix the code? Please? Or is there another script out there that does what this one set out to do?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> <br><br>Thanx peeps<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2989">AxS</a> — Tue Oct 26, 2004 8:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-07-29T07:11:36-04:00</updated>

		<published>2004-07-29T07:11:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39210#p39210</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39210#p39210"/>
		<title type="html"><![CDATA[tcl/php pack to display phpBB board messages in #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39210#p39210"><![CDATA[
<blockquote class="uncited"><div>Eleet, I like the idea.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> <br>I would recommend the owner of the script should submit it on egghelp.org's TCL Archive and other famous on the web so the public is aware of such a script.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"></div></blockquote>The scripts require some more work before they can be released IMO...the php provided has some weird stuff in it (a while loop that looks like it's supposed to emulate sleep(), (try fflush() instead?) no timeout for the socket etc..) and the tcl part is insecure (just find the port and you're free to talk through the bot <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz">)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Jul 29, 2004 7:11 am</p><hr />
]]></content>
	</entry>
	</feed>
