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

	<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>2011-01-31T18:59:08-04:00</updated>

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

		<entry>
		<author><name><![CDATA[adi2247]]></name></author>
		<updated>2010-11-30T01:20:12-04:00</updated>

		<published>2010-11-30T01:20:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95229#p95229</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95229#p95229"/>
		<title type="html"><![CDATA[php text grabbing tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95229#p95229"><![CDATA[
This script is fantastic! how can i make it check the site and post to chat every X min between the hours of X and Y?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11437">adi2247</a> — Tue Nov 30, 2010 1:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2010-10-19T14:31:24-04:00</updated>

		<published>2010-10-19T14:31:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94808#p94808</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94808#p94808"/>
		<title type="html"><![CDATA[php text grabbing tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94808#p94808"><![CDATA[
ok so, this worked:<br><div class="codebox"><p>Code: </p><pre><code>regsub -all -- {(&lt;strong[^&gt;]*&gt;)|(&lt;/strong&gt;)} $info "\002" info;</code></pre></div><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=9145">spithash</a> — Tue Oct 19, 2010 2:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2010-10-19T11:55:36-04:00</updated>

		<published>2010-10-19T11:55:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94807#p94807</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94807#p94807"/>
		<title type="html"><![CDATA[php text grabbing tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94807#p94807"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>[11:52:55] &lt;spithash&gt; .tcl queuesize[11:52:55] &lt;nagger&gt; Tcl: 0</code></pre></div>I get this after I use this script  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"> <br><div class="codebox"><p>Code: </p><pre><code>Warning: over maximum help queue! </code></pre></div>anyone to enlightment me ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Tue Oct 19, 2010 11:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2010-10-18T17:51:59-04:00</updated>

		<published>2010-10-18T17:51:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94800#p94800</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94800#p94800"/>
		<title type="html"><![CDATA[php text grabbing tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94800#p94800"><![CDATA[
uhm,<br>for some reason the bot gives me this error and ping timeouts...<blockquote class="uncited"><div>Warning: over maximum server queue!</div></blockquote>or<br><blockquote class="uncited"><div>Warning: over maximum help queue!</div></blockquote>depending on what i use.. puthelp or putserv.<br><br>I read old posts about it but I couldnt find anything that might help me avoid this...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Mon Oct 18, 2010 5:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2010-10-18T16:33:00-04:00</updated>

		<published>2010-10-18T16:33:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94799#p94799</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94799#p94799"/>
		<title type="html"><![CDATA[php text grabbing tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94799#p94799"><![CDATA[
The code looks like this:<br><div class="codebox"><p>Code: </p><pre><code>setudef flag trollbind pub - !troll parceproc parce {nick uhost hand chan text} {    if {[channel get $chan troll]} {::http::config -urlencoding utf-8 -useragent "Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.8.1) Gecko/2006101023 Firefox/2.0"set url [::http::geturl "http://rolloffle.churchburning.org/troll_me.php" -timeout 15000]set data [::http::data $url]::http::cleanup $urlregsub -all -- {\n} $data "" data;regexp -nocase -- {&lt;p .*?&gt;(.*?)&lt;/p&gt;} $data -&gt; inforegsub -all -- {&lt;strong.*?&gt;|&lt;/strong&gt;} $info "\002" info;while { $info != "" } {    puthelp "PRIVMSG $chan :[string range $info 0 399]"    set info [string range $info 400 end]    }  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Mon Oct 18, 2010 4:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2010-10-18T16:28:46-04:00</updated>

		<published>2010-10-18T16:28:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94798#p94798</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94798#p94798"/>
		<title type="html"><![CDATA[php text grabbing tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94798#p94798"><![CDATA[
I just realized that it bolds EVERYTHING AFTER the bolded word on the website and the bolded word won't even appear...  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><br><br>The website I'm trying to fetch quotes from, is this:<br><br><a href="http://rolloffle.churchburning.org/troll_me.php" class="postlink">http://rolloffle.churchburning.org/troll_me.php</a><br><br>not all quotes are word-bolded. if you refresh you will understand<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Mon Oct 18, 2010 4:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2010-10-18T15:07:59-04:00</updated>

		<published>2010-10-18T15:07:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94795#p94795</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94795#p94795"/>
		<title type="html"><![CDATA[php text grabbing tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94795#p94795"><![CDATA[
...and it works awesomely! <br><br>I really thank you a LOT <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=9145">spithash</a> — Mon Oct 18, 2010 3:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[username]]></name></author>
		<updated>2010-10-18T14:28:17-04:00</updated>

		<published>2010-10-18T14:28:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94793#p94793</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94793#p94793"/>
		<title type="html"><![CDATA[php text grabbing tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94793#p94793"><![CDATA[
Use this:<div class="codebox"><p>Code: </p><pre><code>bind pub - !trigger parceproc parce {nick uhost hand chan text} {::http::config -urlencoding utf-8 -useragent "Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.8.1) Gecko/2006101023 Firefox/2.0"set url [::http::geturl "http://www.example.com/test.php" -timeout 15000]set data [::http::data $url]::http::cleanup $urlregsub -all -- {\n} $data "" data;regexp -nocase -- {&lt;p .*?&gt;(.*?)&lt;/p&gt;} $data -&gt; inforegsub -all -- {&lt;strong.*?&gt;|&lt;/strong&gt;} $info "\002" info;while { $info != "" } {     putserv "PRIVMSG $chan :[string range $info 0 399]"    set info [string range $info 400 end]}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6813">username</a> — Mon Oct 18, 2010 2:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2010-10-18T13:28:58-04:00</updated>

		<published>2010-10-18T13:28:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94792#p94792</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94792#p94792"/>
		<title type="html"><![CDATA[php text grabbing tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94792#p94792"><![CDATA[
also I got another problem,<br><br>when the text is too long, it just cuts it off, it doesn't continue on a new line.. it just cuts it off  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Mon Oct 18, 2010 1:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2010-10-18T00:16:27-04:00</updated>

		<published>2010-10-18T00:16:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94789#p94789</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94789#p94789"/>
		<title type="html"><![CDATA[php text grabbing tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94789#p94789"><![CDATA[
speechles, I got this:<br><blockquote class="uncited"><div>[00:14:29] &lt;@spithash&gt; !test<br>[00:14:31] &lt;@nagger&gt; 1</div></blockquote>after adding this<br><div class="codebox"><p>Code: </p><pre><code>regsub -all {&lt;strong.*?&gt;|&lt;/strong&gt;} [regexp -nocase -- {&lt;p .*?&gt;(.*?)&lt;/p&gt;} $data] "\002" info</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Mon Oct 18, 2010 12:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2010-10-17T20:18:48-04:00</updated>

		<published>2010-10-17T20:18:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94788#p94788</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94788#p94788"/>
		<title type="html"><![CDATA[php text grabbing tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94788#p94788"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>regexp -nocase -- {&lt;p .*?&gt;(.*?)&lt;/p&gt;} $data -&gt; info </code></pre></div>Change this part above, to the part below.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><div class="codebox"><p>Code: </p><pre><code>regsub -all {&lt;strong.*?&gt;|&lt;/strong&gt;} [regexp -nocase -- {&lt;p .*?&gt;(.*?)&lt;/p&gt;} $data] "" info</code></pre></div>If instead, you'd like to leave these words in bold. Change it to look like it is below this:<br><div class="codebox"><p>Code: </p><pre><code>regsub -all {&lt;strong.*?&gt;|&lt;/strong&gt;} [regexp -nocase -- {&lt;p .*?&gt;(.*?)&lt;/p&gt;} $data] "\002" info</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun Oct 17, 2010 8:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2010-10-17T16:41:34-04:00</updated>

		<published>2010-10-17T16:41:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94783#p94783</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94783#p94783"/>
		<title type="html"><![CDATA[php text grabbing tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94783#p94783"><![CDATA[
<strong class="text-strong">[censored]</strong> can be any word.. it was just filtered by egghelp's forum bad word filter <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=9145">spithash</a> — Sun Oct 17, 2010 4:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2010-10-17T16:20:26-04:00</updated>

		<published>2010-10-17T16:20:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94782#p94782</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94782#p94782"/>
		<title type="html"><![CDATA[php text grabbing tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94782#p94782"><![CDATA[
yo @username <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>it works awesomely, thing is (i just noticed, sorry) that some words randomly are bolded in a few quotes like this:<br><div class="codebox"><p>Code: </p><pre><code>&lt;html&gt;&lt;head&gt;&lt;title&gt;mew mew mew moo&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;p style="background-color: #eeeeff; border: thin dashed; font-family: monospace; font-size: 115%; margin-left: 25%; padding: 1em; text-align: justify; width: 50%;"&gt;yo think if i got a real doll and had a voodoo priest do&lt;strong style="color: #a00;"&gt; [censored] &lt;/strong&gt;to it, and attached lindsay lohan's soul to it, that if poke it she'd feel it and &lt;strong style="color: #a00;"&gt;[censored]?&lt;/strong&gt;&lt;/p&gt;&lt;p style="font-size: 70%; text-align: right;"&gt;1ms&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</code></pre></div>so it fetches the bolding.coloring code aswell <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>considering <strong class="text-strong">[censored]</strong> are the bolded/colored words...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Sun Oct 17, 2010 4:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[username]]></name></author>
		<updated>2010-10-17T15:58:30-04:00</updated>

		<published>2010-10-17T15:58:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94781#p94781</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94781#p94781"/>
		<title type="html"><![CDATA[php text grabbing tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94781#p94781"><![CDATA[
Try this: <div class="codebox"><p>Code: </p><pre><code>bind pub - !trigger parceproc parce {nick uhost hand chan text} {::http::config -urlencoding utf-8 -useragent "Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.8.1) Gecko/2006101023 Firefox/2.0"set url [::http::geturl "http://www.example.com/test.php" -timeout 15000]set data [::http::data $url]::http::cleanup $urlregsub -all -- {\n} $data "" data;regexp -nocase -- {&lt;p .*?&gt;(.*?)&lt;/p&gt;} $data -&gt; infoputserv "PRIVMSG $chan :$info"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6813">username</a> — Sun Oct 17, 2010 3:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2011-01-31T18:59:08-04:00</updated>

		<published>2010-10-17T15:33:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94780#p94780</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94780#p94780"/>
		<title type="html"><![CDATA[php text grabbing tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94780#p94780"><![CDATA[
let's say we have a <a href="http://www.example.com/test.php" class="postlink">www.example.com/test.php</a> file on a website including the following, that randomly shows texts<br><div class="codebox"><p>Code: </p><pre><code>&lt;html&gt;&lt;head&gt;&lt;title&gt;mew mew mew moo&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;p style="background-color: #eeeeff; border: thin dashed; font-family: monospace; font-size: 115%; margin-left: 25%; padding: 1em; text-align: justify; width: 50%;"&gt;Yo! First off I love the Lord Jesus. My name is Ron. I am a Freshman at Winona State. My family is really important to me. I'm not doing this to find a g/f. I just thought it would be funny and I like to meet new people. Peace out!&lt;/p&gt;&lt;p style="font-size: 70%; text-align: right;"&gt;45ms&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</code></pre></div>any help around to grab this using a !trigger?:<br><div class="codebox"><p>Code: </p><pre><code>Yo! First off I love the Lord Jesus. My name is Ron. I am a Freshman at Winona State. My family is really important to me. I'm not doing this to find a g/f. I just thought it would be funny and I like to meet new people. Peace out!</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Sun Oct 17, 2010 3:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
