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

	<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>2006-01-07T10:19:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[zee]]></name></author>
		<updated>2006-01-07T10:19:24-04:00</updated>

		<published>2006-01-07T10:19:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59199#p59199</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59199#p59199"/>
		<title type="html"><![CDATA[echo to chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59199#p59199"><![CDATA[
thnx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7199">zee</a> — Sat Jan 07, 2006 10:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-01-07T10:03:25-04:00</updated>

		<published>2006-01-07T10:03:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59196#p59196</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59196#p59196"/>
		<title type="html"><![CDATA[echo to chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59196#p59196"><![CDATA[
Did you realise that you didn't global thechan yet?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Sat Jan 07, 2006 10:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[zee]]></name></author>
		<updated>2006-01-07T09:52:18-04:00</updated>

		<published>2006-01-07T09:52:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59195#p59195</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59195#p59195"/>
		<title type="html"><![CDATA[echo to chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59195#p59195"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set url "http://www.inflow.freesitedirect.com/randquote.php"set thechan "#inflow"bind pub - !digg diggproc digg {nick uhost hand chan arg} {global url set sock [egghttp:geturl $url your_callbackproc]return 1}  proc your_callbackproc {sock} {global urlset headers [egghttp:headers $sock]set body [egghttp:data $sock]  regsub -all "\n" $body "" bodyregsub -all -nocase {&lt;br&gt;} $body "&lt;br&gt;\n" bodyregexp {cc is &lt;b&gt;(.*)&lt;/b&gt; end} $body - servedputlog "$served"}putlog "egghttp_example.tcl has been successfully loaded."</code></pre></div>ROFLMAO this is so screwed, even putting the variable $thechan in putlog screws up everything.<br><br>Still it can't puthelp/serv<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7199">zee</a> — Sat Jan 07, 2006 9:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[zee]]></name></author>
		<updated>2006-01-06T22:30:09-04:00</updated>

		<published>2006-01-06T22:30:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59183#p59183</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59183#p59183"/>
		<title type="html"><![CDATA[echo to chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59183#p59183"><![CDATA[
I tryed puthelp before, but its still does nothing.<br><br>At the same time it puts putlog, wich works...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7199">zee</a> — Fri Jan 06, 2006 10:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-01-06T21:59:16-04:00</updated>

		<published>2006-01-06T21:59:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59179#p59179</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59179#p59179"/>
		<title type="html"><![CDATA[echo to chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59179#p59179"><![CDATA[
Change:<div class="codebox"><p>Code: </p><pre><code>#   putserv "PRIVMSG $thechan : $served"</code></pre></div>to:<div class="codebox"><p>Code: </p><pre><code>puthelp "PRIVMSG $thechan :$served"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Fri Jan 06, 2006 9:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[zee]]></name></author>
		<updated>2006-01-06T21:31:16-04:00</updated>

		<published>2006-01-06T21:31:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59175#p59175</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59175#p59175"/>
		<title type="html"><![CDATA[echo to chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59175#p59175"><![CDATA[
This is from <a href="http://www.tclscript.com/egghttp_tut.shtml" class="postlink">http://www.tclscript.com/egghttp_tut.shtml</a> egghttp tutorial.<br><br>I'm getting it working exept that i can't echo the result to #chan.<br><div class="codebox"><p>Code: </p><pre><code>set url "http://www.blah..."set thechan "#mychannel"if {![info exists egghttp(version)]} {putlog "egghttp.tcl was NOT successfully loaded."putlog "egghttp_example.tcl has not been loaded as a result."} else {proc your_callbackproc {sock} {global urlset headers [egghttp:headers $sock]set body [egghttp:data $sock]  regsub -all "\n" $body "" bodyregsub -all -nocase {&lt;br&gt;} $body "&lt;br&gt;\n" bodyregexp {a &lt;b&gt;(.*)&lt;/b&gt; b} $body - served#putserv "PRIVMSG $thechan : $served"putlog "Website '$url' has served $served people so far."}bind pub - "!digg" diggproc digg {nick uhost hand chan arg} {global url set sock [egghttp:geturl $url your_callbackproc]return 1}  putlog "egghttp_example.tcl has been successfully loaded."}</code></pre></div>The putserv "PRIVMSG $thechan : $served" doesn't work, but putlog does. what im doing wrong here ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7199">zee</a> — Fri Jan 06, 2006 9:31 pm</p><hr />
]]></content>
	</entry>
	</feed>
