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

	<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-07-18T10:32:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-07-18T10:32:00-04:00</updated>

		<published>2004-07-18T10:32:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38757#p38757</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38757#p38757"/>
		<title type="html"><![CDATA[Parse]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38757#p38757"><![CDATA[
not sur what it is you are doing but here is a sample i always to debug altho it doesn't strip html tags ..<br><br>use : !debug &lt;hostname.tld&gt; &lt;port&gt; &lt;file&gt;<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !debug debug:pubproc debug:pub {nick host hand chan arg} {  if {[string equal -nocase "#debug" $chan]} {    catch {socket [lindex $arg 0] [lindex $arg 1]} sock    puts $sock "GET /[lindex $arg 2] HTTP/1.1"    puts $sock "Host: [lindex $arg 0]:[lindex $arg 1]"    puts $sock "Connection: Close"    puts $sock "User-Agent: Debug client"    puts $sock "\n\r"    flush $sock    while {![eof $sock]} {      flush $sock      gets $sock line      putserv "PRIVMSG $chan :$line"    }  } else {    putserv "PRIVMSG $chan :Not valid channel."  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Jul 18, 2004 10:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-07-18T02:52:31-04:00</updated>

		<published>2004-07-18T02:52:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38749#p38749</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38749#p38749"/>
		<title type="html"><![CDATA[Parse]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38749#p38749"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># egghttp_example.tcl # Config set url "http://www............com/test.html" set dcctrigger "example" # End of config 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 url     set headers [egghttp:headers $sock]     set body [egghttp:data $sock]       regsub -all "\n" $body "" body     regsub -all -nocase {&lt;br&gt;} $body "&lt;br&gt;\n" body     regexp {We have served &lt;b&gt;(.*)&lt;/b&gt; people to date!} $body - served     putlog "Website '$url' has served $served people so far."   }   bind dcc o|o $dcctrigger our:dcctrigger   proc our:dcctrigger {hand idx text} {     global url     set sock [egghttp:geturl $url your_callbackproc]     return 1   }    putlog "egghttp_example.tcl has been successfully loaded." } </code></pre></div><strong class="text-strong">No answer  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br>Atleast tell me how to add a public trigger in this code say !trigger and get the output on channel<br>thanks. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> <br></strong><p>Statistics: Posted by Guest — Sun Jul 18, 2004 2:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-07-17T04:47:56-04:00</updated>

		<published>2004-07-17T04:47:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38702#p38702</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38702#p38702"/>
		<title type="html"><![CDATA[Parse]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38702#p38702"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># egghttp_example.tcl# Configset url "http://www............com/test.html"set dcctrigger "example"# End of configif {![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 url    set headers [egghttp:headers $sock]    set body [egghttp:data $sock]      regsub -all "\n" $body "" body    regsub -all -nocase {&lt;br&gt;} $body "&lt;br&gt;\n" body    regexp {We have served &lt;b&gt;(.*)&lt;/b&gt; people to date!} $body - served    putlog "Website '$url' has served $served people so far."  }  bind dcc o|o $dcctrigger our:dcctrigger  proc our:dcctrigger {hand idx text} {    global url     set sock [egghttp:geturl $url your_callbackproc]    return 1  }    putlog "egghttp_example.tcl has been successfully loaded."}</code></pre></div><br><br><strong class="text-strong">"And this is the content of the website</strong><br><br>&lt;html&gt;<br>&lt;head&gt;<br>&lt;title&gt;Untitled Document&lt;/title&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br>&lt;Welcome to my Site&lt;br&gt;<br>&lt;table width="394" border="0" cellpadding="0" cellspacing="0"&gt;<br>  &lt;tr&gt; <br>    &lt;td width="394" height="62" valign="top"&gt;&lt;p&gt;0.No spamming. This includes unauthorized <br>        scripts and bots and excessive use of colors. (Bold Font or Contstant <br>        Caps included)&lt;br&gt;<br>        1.No vulgar, racist, or offensive language. This includes but is not limited <br>        to swearing and harrassment. &lt;br&gt;<br>        2.All communication should be in the English language. &lt;/p&gt;<br>  &lt;br&gt;We have served &lt;b&gt;710&lt;/b&gt; people to date!&lt;br&gt;<br>  &lt;br&gt;<br>  &lt;/center&gt;  &lt;/BODY&gt;&lt;/HTML&gt;<br><br><strong class="text-strong">when .example is executed in the dcc line i get the last line."Website 'http://www.........com/test.html' has served 710 people so far."<br>my Q is how do i get the full content starting from "Welcome to My site....<br>ie wat eva there is in the page it is extracted.<br>i have searched thru forums ..but most of them are complicated, so please ..may be u can help..</strong> Thanks in Advance<p>Statistics: Posted by Guest — Sat Jul 17, 2004 4:47 am</p><hr />
]]></content>
	</entry>
	</feed>
