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

	<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>2012-02-27T01:34:34-04:00</updated>

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

		<entry>
		<author><name><![CDATA[tommytom]]></name></author>
		<updated>2012-02-27T01:34:34-04:00</updated>

		<published>2012-02-27T01:34:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98891#p98891</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98891#p98891"/>
		<title type="html"><![CDATA[forked: UNOFFICIAL incith-google 2.0.0c (Sep9,2o11)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98891#p98891"><![CDATA[
Apology accepted. I understand that you wanted it split, but I didn't appreciate the negativity that went with it. Either way, accepted. This new post was actually a big step up from that other one.<br><blockquote class="uncited"><div>You have run-on posts, where you yourself merely post again (ie, post bumping), rather than just editing your post to add more, if you are the last one to post this will not show (edit) beacons to others like a revised post would. Doing it this way can go cleverly below radar.</div></blockquote>I have dwelled on a completely different forum for 12-14 years. Not only more vast of a subject (this is just eggdrop), but also way more traffic. On there, it's perfectly normal to bump a post a few hours later. The members practically live on the "new posts" button/bookmark and only see things if they are new. If an hour has passed, it's best to make a new post so it gets seen. If it isn't important, then it just needs an edit.<br><br>So, sorry if I broke some rules here. I don't mean for my (bad) habits to end up here. Honestly, I only came here to get the newest Google script, months later I checked for a newer one again since it broke, then I found that it was outdated/broken still (1.99 or w/e) for a long time and I posted my fixed one (it was months before I figured out my copy could help others), then I found yours, then I had to adapt to the new script which unfixed everything I had fixed (sloppily, probably). Long story short, I didn't really even want to join/post, but I felt it was a crime not to since there might be others out there like me or even less skilled then me waiting for answers/fixes. AFAIK, this is the only working (if only partially) Google script.<br><br>IMO, I was just posting some decent-enough fixes that you could look at and fix yourself if it was bad. I thought I was helping you out. I honestly didn't mean "here is what you do, now do it" or anything. Otherwise, I would have just put it in myself and posted the full script or something. It was more like "this is what I did, if you like it put it in". I felt the code was self-explanatory. Didn't realize it could come across as a demand or something. I seen that you were busy (as was I the last few months) and not able to work on the script (as was I, even though I had meant to), I wasn't doing anything at the time and the script had finally completely broken (or seemed like everything normally used was... "spell:" seemed to work, lol), so I just started throwing out my hotfixes as I went.<br><br>Anyways, still a little hurt, lost my confidence, and also lost interest. I dunno when I will try to fix anything with this again (will have to see speechles's updated script). Probably when I see something broken again, pissed off that my bot never does what I command it to do, and nothing better to do.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11782">tommytom</a> — Mon Feb 27, 2012 1:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2012-02-26T16:32:15-04:00</updated>

		<published>2012-02-26T16:32:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98890#p98890</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98890#p98890"/>
		<title type="html"><![CDATA[forked: UNOFFICIAL incith-google 2.0.0c (Sep9,2o11)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98890#p98890"><![CDATA[
Here's the problem I had with this being within the main unofficial thread (keep in mind the unofficial thread was also "split" from another thread in a similar way)...<br><br>When you give these fixes, you ramp up dilution of consistency. This means, you create more work for yourself later by not really knowing what code-base people are using anymore. It confuses users basically because it appears hastily written, like not enough testing was done. You have run-on posts, where you yourself merely post again (ie, post bumping), rather than just editing your post to add more, if you are the last one to post this will not show (edit) beacons to others like a revised post would. Doing it this way can go cleverly below radar.<br><br>And yeah, I am clearly an asshole at times and I agree. At least that's something we can agree on. I know caeser agree's with me. He thinks I didn't catch that post he "junked" on my behalf. But to be honest, that was a "pre script". It was a "warez" script. Rules are rules not just to look pretty. I thought they were to be enforced, but this is taking me off topic too far... So let's stray back..<br><br>I meant no disrespect to what you are doing. Go ahead and keep right up doing that, split thread is easier for me to understand exactly what I am fixing and keeps conversations from merging and cluttering up my build table.. heh<br><br>This is why my version shall always be "v2.01x" always that same version, over and over. Because ramping isn't what I'm intending to do. To know if you have the most recent copy of it, simply check the release date and compare against your own. If it's newer take it. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>And about that unreleased version. To clarify a bit, it is live, anytime you want join efnet and #roms-isos and try various things against it. The one-boxes I still have yet to fix, there is more to the script than simply google.<br><blockquote class="uncited"><div>&lt;speechles&gt; !webby <a href="http://www.google.com/search?q=ixtreme%20burner%20max%20tutorial&amp;safe=off&amp;lr=lang_all&amp;ie=utf-8&amp;nfpr=1" class="postlink">http://www.google.com/search?q=ixtreme% ... f-8&amp;nfpr=1</a> --regexp class="g"&gt;&lt;div.*?&lt;a href="(.*?)".*?"&gt;(.*?)&lt;/a-- --override<br>&lt;sp33chy&gt; regexp: capture1 ( <a href="http://www.ixtreme.net/open-forum/16382-ixtreme-burner-max-official-tutorial-team-xecutor.html" class="postlink">http://www.ixtreme.net/open-forum/16382 ... cutor.html</a> )<br>&lt;sp33chy&gt; regexp: capture2 ( iXtreme Burner Max Official Tutorial from Team Xecutor )<br>&lt;speechles&gt; tuh duh<br>&lt;speechles&gt; !webby <a href="http://www.google.com/search?q=ixtreme%20burner%20max%20tutorial&amp;safe=off&amp;lr=lang_all&amp;ie=utf-8&amp;nfpr=1" class="postlink">http://www.google.com/search?q=ixtreme% ... f-8&amp;nfpr=1</a> --regexp class="g"&gt;&lt;div.*?&lt;a href="(.*?)".*?"&gt;(.*?)&lt;/a.*?class="g"&gt;&lt;div.*?&lt;a href="(.*?)".*?"&gt;(.*?)&lt;/a.*?class="g"&gt;&lt;div.*?&lt;a href="(.*?)".*?"&gt;(.*?)&lt;/a-- --override<br>&lt;sp33chy&gt; regexp: capture1 ( <a href="http://www.ixtreme.net/open-forum/16382-ixtreme-burner-max-official-tutorial-team-xecutor.html" class="postlink">http://www.ixtreme.net/open-forum/16382 ... cutor.html</a> )<br>&lt;sp33chy&gt; regexp: capture2 ( iXtreme Burner Max Official Tutorial from Team Xecutor )<br>&lt;speechles&gt; 3 differing results plz<br>&lt;sp33chy&gt; regexp: capture3 ( <a href="http://www.ixtreme.net/console-news/16299-ixtreme-burner-max-tutorial.html" class="postlink">http://www.ixtreme.net/console-news/162 ... orial.html</a> )<br>&lt;sp33chy&gt; regexp: capture4 ( iXtreme Burner Max Tutorial )<br>&lt;sp33chy&gt; regexp: capture5 ( <a href="http://www.ixtreme.net/ixtreme-lt-lite-touch-download/16527-ixtreme-burner-max-download.html" class="postlink">http://www.ixtreme.net/ixtreme-lt-lite- ... nload.html</a> )<br>&lt;sp33chy&gt; regexp: capture6 ( iXtreme Burner Max Download )<br>&lt;speechles&gt; kk, thats how it should work<br>&lt;speechles&gt; webby is bombastic<br>&lt;speechles&gt; thanks webby, i just fixed google usin' u</div></blockquote>Hopefully you are using something similar to webby to do all your work. This is why webby exists primarily. To help me fix the google script. And on that I'm out.. Sorry if I pissed anyone off, sometimes I do that... enjoy the scripts even if you wish you could launch a brick into my face. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>I can promise that the url: <a href="http://ereader.kiczek.com/incith-google.tcl" class="postlink">http://ereader.kiczek.com/incith-google.tcl</a><br>This will contain my unreleased copy later tonight. My physical copy differs far from the actual production copy I release. My physical copy has extensive debug it sends me so that I can tell when one-boxes are caught incorrectly, and the whole she-bang. I just haven't released it because it slows the entire script down 10x and is only useful to know which parsers pick up what.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun Feb 26, 2012 4:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tommytom]]></name></author>
		<updated>2012-02-26T11:59:49-04:00</updated>

		<published>2012-02-26T11:59:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98889#p98889</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98889#p98889"/>
		<title type="html"><![CDATA[forked: UNOFFICIAL incith-google 2.0.0c (Sep9,2o11)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98889#p98889"><![CDATA[
Well, my fixes are experimental and only to get parts of it working. I have edited my copy so much, I will eventually have to take a clean copy and put my own fixes back in. I don't want to share this mangled copy I have.<br><br>I will make a fully edited beta script or something later maybe but my script has some custom bug fixes only for my editor (notepad++) that no one else would need.<br><br>Do you have a better suggestion for a syntax highlighting editor (not many for TCL, I'm sure)? notepad++ isn't that great (for TCL anyways). elseif isn't colored and unclosed regex quotes break the coloring (until another quote is found, the lines between are colorless as if the whole this is a quoted text). I currently have to add ;#" at the end of problem regex lines to fixes the lines after them.<br><br>I'm more of a utilitarian. I get it working, nothing more.<br>If I have to break a few things to get it working partially (over not at all), then I will. However, I don't want to turn that into a collection of these and call it some special script. If speechles wants to take my regexs or something to fix the main one "properly" without breaking the other languages (I don't care for that. We have google translate script(s) and mostly everyone speaks/reads English and 100% do in my channel). My goal was to get the important parts working, even partially, and speechles could take SOMETHING out of it if he hadn't fixed it already.<br><br>That said, if you want to take a clean copy (pre-fork), apply the fixes, and share it, then feel free. I really don't care. I'm fixing it for myself (and my channel) and posting how I did it. If someone has a better way of doing it, I don't care. Do it and share it if you like.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11782">tommytom</a> — Sun Feb 26, 2012 11:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[xREVx]]></name></author>
		<updated>2012-02-26T11:21:05-04:00</updated>

		<published>2012-02-26T11:21:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98888#p98888</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98888#p98888"/>
		<title type="html"><![CDATA[forked: UNOFFICIAL incith-google 2.0.0c (Sep9,2o11)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98888#p98888"><![CDATA[
No need to walk away like that, tommytom. This is a forked thread so we should be allowed to do whatever we want here.<br><br>This could be the thread where people get fixes faster <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br><br>I'm grateful for what he has been doing, I've been using the script for quite a while now but I also agree he's pretty arrogant sometimes, and maybe because he thinks he's so great he's also too afraid of making mistakes, and that could be why he takes ages to release a fix...<br><br>I've shared my quick fix with the only intention of helping the community, because I thought it would be a bad attitude on my part if I kept the fix to myself while there are many others using the script and needing the fix.<br><br>Anyways, please keep doing it. Also, as a suggestion, maybe it'd be easier for everyone if you hosted the whole tcl file and just said what you've changed in it <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=9177">xREVx</a> — Sun Feb 26, 2012 11:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tommytom]]></name></author>
		<updated>2012-02-26T10:57:12-04:00</updated>

		<published>2012-02-26T10:57:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98887#p98887</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98887#p98887"/>
		<title type="html"><![CDATA[forked: UNOFFICIAL incith-google 2.0.0c (Sep9,2o11)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98887#p98887"><![CDATA[
Man, you guys are pretty ungrateful.<br>Some guy tries to help fix things and you boot him out.<br><br>I guess I will just leech then.<br><br>I'm not fixing it perfectly, sure, but I am giving hotfixes for those that actually want the script to work (even partially), not 90-99% broken.<br><br>I don't see why you have a unreleased script if it is so perfect/better than my fixes. Kinda rude yourself to keep something like to yourself if it works.<br><br>Anyways, if anyone wants me to continue to share, PM or reply.<br>Doubt I will be back.<br><br>Edit: Thanks for the feedback on the duplicated results (didn't notice in my haste), but I still don't like the attitude. I would have made it better, but NVM.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11782">tommytom</a> — Sun Feb 26, 2012 10:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2012-02-25T12:40:06-04:00</updated>

		<published>2012-02-25T12:40:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98880#p98880</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98880#p98880"/>
		<title type="html"><![CDATA[forked: UNOFFICIAL incith-google 2.0.0c (Sep9,2o11)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98880#p98880"><![CDATA[
<span style="color:red">Moderated: Split from original thread <a href="http://forum.egghelp.org/viewtopic.php?t=13586" class="postlink">UNOFFICIAL incith-google 2.0.0c (Sep9,2o11)</a>.<br><br>/NML_375</span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Feb 25, 2012 12:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2012-02-25T00:28:30-04:00</updated>

		<published>2012-02-25T00:28:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98866#p98866</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98866#p98866"/>
		<title type="html"><![CDATA[forked: UNOFFICIAL incith-google 2.0.0c (Sep9,2o11)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98866#p98866"><![CDATA[
speechles is right. this doesn't fix anything. it's just a mess up. it will only show the same result 3 times. <br><br>I don't want to be rude to anybody but, I will say this clearly: patience is gold. <br><br>there are reasons some things don't happen when we want them to happen. most of the time it means that if it happens when we want them to happen, disaster comes along. despite that we always, but always we have to double think. <br><br>why is this script one of the most wanted? <br>the answer is that because it's so awesome that everyone is using it.<br><br>another question is that,  why don't we all let the coder himself fix it when he is ready? BECAUSE WE'RE ALLL TRYING TO STEAL SOME OF HIS GLORY/AND/OR RUIN THE SCRIPT. seriously, guys, I would never speak to you like this but it came to a point that nobody is patient to things that are nothing to us but a <strong class="text-strong">hobby</strong><br><br>I wish I didn't offend anybody.<br><br>peace.<br><br>PS: I personally admire some people's efford on fixing stuff, but as speechles said, keep it out of here. hence this is the official thread for the script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Sat Feb 25, 2012 12:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2012-02-24T23:49:36-04:00</updated>

		<published>2012-02-24T23:49:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98865#p98865</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98865#p98865"/>
		<title type="html"><![CDATA[forked: UNOFFICIAL incith-google 2.0.0c (Sep9,2o11)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98865#p98865"><![CDATA[
<blockquote class="uncited"><div>&lt;~TommyTom&gt; !g average penis length<br>&lt;~TTBot&gt; 1,410,000 results | Human penis size - Wikipedia, the free encyclopedia &lt;di @ <a href="http://en.wikipedia.org/wiki/Human_penis_size" class="postlink">http://en.wikipedia.org/wiki/Human_penis_size</a> | Human penis size - Wikipedia, the free encyclopedia &lt;di @ <a href="http://en.wikipedia.org/wiki/Human_penis_size" class="postlink">http://en.wikipedia.org/wiki/Human_penis_size</a> | Human penis size - Wikipedia, the free encyclopedia &lt;di @ <a href="http://en.wikipedia.org/wiki/Human_penis_size" class="postlink">http://en.wikipedia.org/wiki/Human_penis_size</a><br>&lt;~TommyTom&gt; !g test<br>&lt;~TTBot&gt; 3,410,000,000 results | Test.com Web Based Testing and Certification Software v2.0 @ <a href="http://test.com/" class="postlink">http://test.com/</a> | Test.com Web Based Testing and Certification Software v2.0 @ <a href="http://test.com/" class="postlink">http://test.com/</a> | Test.com Web Based Testing and Certification Software v2.0 @ <a href="http://test.com/" class="postlink">http://test.com/</a><br>&lt;~TommyTom&gt; !g test pdf<br>&lt;~TTBot&gt; 1,820,000,000 results | [PDF] PDF Test Page <a href="http://www.educati" class="postlink">www.educati</a> @ <a href="http://www.education.gov.yk.ca/pdf/pdf-test.pdf" class="postlink">http://www.education.gov.yk.ca/pdf/pdf-test.pdf</a> | [PDF] PDF Test Page <a href="http://www.educati" class="postlink">www.educati</a> @ <a href="http://www.education.gov.yk.ca/pdf/pdf-test.pdf" class="postlink">http://www.education.gov.yk.ca/pdf/pdf-test.pdf</a> | [PDF] PDF Test Page <a href="http://www.educati" class="postlink">www.educati</a> @ <a href="http://www.education.gov.yk.ca/pdf/pdf-test.pdf" class="postlink">http://www.education.gov.yk.ca/pdf/pdf-test.pdf</a></div></blockquote>This is not fixing anything. Notice it's the same 3 results. Instead of clogging my thread with all this FIX-THIS-PART bullshit, please CREATE YOUR OWN THREAD. I plan on fixing this script correctly, myself. Hence this thread should not contain a flood of fixes by anyone else. Does this make it clear? Do we all understand? I've had some work issues, health issues, and other real life things happening in my life. Please take it upon yourself to create yourself a new thread and stop cluttering mine with this junk...<br><br>Tommytom, thanks for the effort but it is not correct, breaks the multi-language featueres, and appears rough and messy. Worst of all, it is not based on the latest google which I have not made public yet <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz">. It uses webby's encoders to correct encodings. And it fixes quite a few issues. The more people tamper with my thread. The longer I shall delay releasing that version here.<br><br>When I release fixes,  It will be a complete script. If you want to continue this "edit here", "find this"... Please do it in ANOTHER thread... Please GO BACK and REMOVE your posts from my thread. Re-create them in your own. This makes my thread look like utter SH!T having all this bullsh!t....<br><br>You said yourself, you don't understand the code and are making shots in the dark at fixing it. I know the code, I have a debug version which makes this easy. I know the script like the back of my hand.<br><br><span style="color:red"><span style="font-size:100%;line-height:116%">Can a moderator please remove all of these posts, this one included, any that were made after this date --&gt; Posted: Sun Feb 05, 2012 12:05 am</span></span><br><br>Thanks to that moderator aplenty. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Fri Feb 24, 2012 11:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tommytom]]></name></author>
		<updated>2012-02-24T16:43:52-04:00</updated>

		<published>2012-02-24T16:43:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98862#p98862</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98862#p98862"/>
		<title type="html"><![CDATA[forked: UNOFFICIAL incith-google 2.0.0c (Sep9,2o11)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98862#p98862"><![CDATA[
I refixed the "time:" section in this post: <a href="http://forum.egghelp.org/viewtopic.php?p=98848#98848" class="postlink">http://forum.egghelp.org/viewtopic.php?p=98848#98848</a><br><br>Please recopy that part.<br>I left the stripping in (don't think it's needed) and put that last regsub back in and replaced it with the new regex that finds it.<br><br>Didn't realize at the time that the regsub is to strip the match criteria so that the next loop(s) will find the "long answer" search results (normal results, not answers).<br><br>Honestly, I think this is inefficient. Could you not set a $answerFound variable or something so that the second loop will not go into that section?<br><br>You could skip all the elseifs as well making the code more optimal.<br><br>Each regex/wildcard match update will only require updating that one line, not the regsub at the end as well to strip it. Each of those would just have "set answerFound 1" at the end and never have to edit that part again.<br><br>(psuedo code.. don't know TCL that well)<div class="codebox"><p>Code: </p><pre><code>set answerFound 0if (!$answerFound){  #do answer stuff in here  if (someanswer regex match){    #blah blah    set answerFound 1  }} else {  #regular search results here}</code></pre></div>Not familiar enough with this code yet to say if that is possible, but it should be with some restructuring.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11782">tommytom</a> — Fri Feb 24, 2012 4:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tommytom]]></name></author>
		<updated>2012-02-24T00:01:46-04:00</updated>

		<published>2012-02-24T00:01:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98852#p98852</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98852#p98852"/>
		<title type="html"><![CDATA[&quot;more answers&quot; fix]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98852#p98852"><![CDATA[
<strong class="text-strong">"more answers" fix</strong><br><br>@line ~1426<br>Find this:<div class="codebox"><p>Code: </p><pre><code>        # more answers        } elseif {[string match "*\{google.rrep('answersrep'*" $html]} {          regexp -- {&lt;div id=res class=med role=main&gt;.*?&lt;h3 class=r&gt;(.*?)&lt;/h3&gt;} $html - desc</code></pre></div>Change to:<div class="codebox"><p>Code: </p><pre><code>        # more answers        } elseif {[string match "*\{google.rrep('answersrep'*" $html]} {          regexp -- {class=\"g answers.+?&gt;.+?class=\"?r\"?&gt;(.+?)&lt;} $html - desc</code></pre></div>before:<div class="codebox"><p>Code: </p><pre><code>&lt;~TommyTom&gt; !g shrek release date(desc variable error in console. No output in IRC.)</code></pre></div>after:<div class="codebox"><p>Code: </p><pre><code>&lt;~TommyTom&gt; !g shrek release date&lt;~TTBot&gt; Best guess for Shrek Release Date is May 18, 2001</code></pre></div>No sure if it's supposed to be that plain. No bolding. In Opera, the date is bold.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11782">tommytom</a> — Fri Feb 24, 2012 12:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tommytom]]></name></author>
		<updated>2012-02-23T15:51:07-04:00</updated>

		<published>2012-02-23T15:51:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98851#p98851</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98851#p98851"/>
		<title type="html"><![CDATA[forked: UNOFFICIAL incith-google 2.0.0c (Sep9,2o11)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98851#p98851"><![CDATA[
Yes, you are right. That's why I didn't do it. What I really meant was "add it manually/automatically to each properly", the properly was assumed and didn't check into it. I realized the "?r" situation later (I will go strike out my previous post).<br><br>You could probably build a regex s&amp;r in certain editors, but that's still asking for trouble. If it ain't broke, don't fix it. I guess just add the "?r"? type stuff when it comes up (new one that changed and it got broken by this minuet problem).<br><br>Also, to add to the crap it would have broke doing a s&amp;r, it would break class="r blah". Well, it would still match, but there is no need for the ? in there since it will always have quotes because of the space (AFAIK).<br><br>Sooooo many things broken still. "population of", "define:", "apple" (and others like it), etc. Seems like they are all falling into a "short answer" trap and only showing one result or none at all.<br><br>I put my old weather fix into my script just to have weather working (bit lackluster and I undo some stuff I shouldn't have, but I gotta learn how it is supposed to look.. no one has posted a log/ss for me to see).<br><br>Edit:<br>I revised it. And you are absolutely correct about the regular wildcard match string (glob?). I used class=r myself and didn't even think of this. Would have broken them.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11782">tommytom</a> — Thu Feb 23, 2012 3:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Trixar_za]]></name></author>
		<updated>2012-02-23T09:59:47-04:00</updated>

		<published>2012-02-23T09:59:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98850#p98850</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98850#p98850"/>
		<title type="html"><![CDATA[forked: UNOFFICIAL incith-google 2.0.0c (Sep9,2o11)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98850#p98850"><![CDATA[
The trouble with the replacement of class=r and class=g is that using ? like that only works with regex and not string matches (which uses glob). That could potentially break the script. The second probably is that some of the regex searches for the whole thing, so class="?r&gt; wouldn't work, it needs to be class="?r"?&gt;. Just a thought <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>Well done on the rest of it through <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=10958">Trixar_za</a> — Thu Feb 23, 2012 9:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tommytom]]></name></author>
		<updated>2012-02-24T16:32:15-04:00</updated>

		<published>2012-02-23T04:15:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98848#p98848</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98848#p98848"/>
		<title type="html"><![CDATA[forked: UNOFFICIAL incith-google 2.0.0c (Sep9,2o11)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98848#p98848"><![CDATA[
<strong class="text-strong">normal search fix</strong><br>search for this around line 1647 (mine might vary)<div class="codebox"><p>Code: </p><pre><code># regular search</code></pre></div>and then modify this:<div class="codebox"><p>Code: </p><pre><code>        # regular search        } else {          if {![regexp -- {class=g(?!b).*?&lt;a href="(.+?)".*?&gt;((?!&lt;).+?)&lt;/a&gt;} $html - link desc]} {            if {[regexp -- {class=r.*?&lt;a href="(.+?)".*?&gt;((?!&lt;).+?)&lt;/a&gt;} $html - link desc ]} {              regsub -- {class=r.*?&lt;a href=".+?".*?&gt;(?!&lt;).+?&lt;/a&gt;} $html "" html            }          } else {            regsub -- {class=g(?!b).*?&lt;a href=".+?".*?&gt;.+?&lt;/a&gt;} $html "" html</code></pre></div>To this:<div class="codebox"><p>Code: </p><pre><code>        # regular search        } else {          if {![regexp -- {class="?g(?!b).*?&lt;a href="(.+?)".*?&gt;((?!&lt;).+?)&lt;/a&gt;} $html - link desc]} {            if {[regexp -- {class="?r.*?&lt;a href="(.+?)".*?&gt;((?!&lt;).+?)&lt;/a&gt;} $html - link desc ]} {              regsub -- {class="?r.*?&lt;a href=".+?".*?&gt;(?!&lt;).+?&lt;/a&gt;} $html "" html            }          } else {            regsub -- {class="?g(?!b).*?&lt;a href=".+?".*?&gt;.+?&lt;/a&gt;} $html "" html</code></pre></div>Alternatively, you can manually find/replace all instances of:<div class="codebox"><p>Code: </p><pre><code>class=r</code></pre></div>with:<div class="codebox"><p>Code: </p><pre><code>class="?r"?</code></pre></div> and do the same for "g" or any others that might vary. Please not this won't work in the wildcard-only "match" parts. This only works in regex strings!<br><br>The single ? means the letter to the left may or may not exist. It will match either and only one character can fit in there (unlike .*?). This will stop the breakage of parts of the script due to the introduction or removal of the quotes around the class id. I strongly suggest doing it to all instance of "r", but I'm not doing it just yet as I am still troubleshooting other parts and don't want to make regressions elsewhere.<br><br>Before:<div class="codebox"><p>Code: </p><pre><code>&lt;~TommyTom&gt; !g average penis length&lt;~TTBot&gt; 1,410,000 results&lt;~TommyTom&gt; !g test&lt;~TTBot&gt; 3,410,000,000 results | Test Your Awareness: Do The Test - YouTube @ http://www.youtube.com/watch?v=Ahg6qcgoay4&lt;~TommyTom&gt; !g test pdf&lt;~TTBot&gt; 1,820,000,000 results</code></pre></div>As you can see, you get no results, or only one (usually videos, it seems).<br><br>After:<div class="codebox"><p>Code: </p><pre><code>&lt;~TommyTom&gt; !g average penis length&lt;~TTBot&gt; 1,410,000 results | Human penis size - Wikipedia, the free encyclopedia &lt;di @ http://en.wikipedia.org/wiki/Human_penis_size | Human penis size - Wikipedia, the free encyclopedia &lt;di @ http://en.wikipedia.org/wiki/Human_penis_size | Human penis size - Wikipedia, the free encyclopedia &lt;di @ http://en.wikipedia.org/wiki/Human_penis_size&lt;~TommyTom&gt; !g test&lt;~TTBot&gt; 3,410,000,000 results | Test.com Web Based Testing and Certification Software v2.0 @ http://test.com/ | Test.com Web Based Testing and Certification Software v2.0 @ http://test.com/ | Test.com Web Based Testing and Certification Software v2.0 @ http://test.com/&lt;~TommyTom&gt; !g test pdf&lt;~TTBot&gt; 1,820,000,000 results | [PDF] PDF Test Page www.educati @ http://www.education.gov.yk.ca/pdf/pdf-test.pdf | [PDF] PDF Test Page www.educati @ http://www.education.gov.yk.ca/pdf/pdf-test.pdf | [PDF] PDF Test Page www.educati @ http://www.education.gov.yk.ca/pdf/pdf-test.pdf</code></pre></div>I think there are some truncated &lt;div&gt;s in there, so they don't get stripped out. Probably need some cleanup code BEFORE the desc truncation.<br><br>=================<br><strong class="text-strong">Time fix</strong><br><br>~line 1512<br>find:<div class="codebox"><p>Code: </p><pre><code>        # time:        } elseif {[string match "*src=\"http://www.google.com/chart*chc=localtime*" $html] == 1} {           regexp -nocase -- {src="http://www.google.com/chart\?chs=.*?chc=localtime.*?&gt;&lt;td valign=[a-z]+&gt;(.+?)&lt;/table&gt;} $html - desc          regsub -- {&lt;br&gt;} $desc ". " desc          regsub -all {&lt;.*?&gt;} $desc "" desc          regsub -- {chc=localtime} $html {} html</code></pre></div>replace with:<div class="codebox"><p>Code: </p><pre><code>        # time:        } elseif {[string match "*class=\"g tpo\"*class=\"s rbt\"*class=obcontainer*" $html] == 1} {           regexp -nocase -- {class="g tpo".*?class="s rbt".*?class=obcontainer.*?&lt;table.*?&lt;td.*?&gt;(.+?)&lt;/table&gt;} $html - desc          regsub -- {&lt;br&gt;} $desc ". " desc           regsub -all {&lt;.*?&gt;} $desc "" desc          regsub -- {class="g tpo".*?class="s rbt".*?class=obcontainer.*?&lt;table.*?&lt;td.*?&gt;.+?&lt;/table&gt;} $html {} html</code></pre></div>Before:<div class="codebox"><p>Code: </p><pre><code>&lt;~TommyTom&gt; !g time in new york&lt;~TTBot&gt; 11,400,000,000 results | Current time in New York, United States - daylight savings time 2012 ... @ http://24timezones.com/world_directory/current_new_york_time.php | Current time in New York, United States - daylight savings time 2012 ... @ http://24timezones.com/world_directory/current_new_york_time.php | Current time in New York, United States - daylight savings time 2012 ... @&lt;~TTBot&gt; http://24timezones.com/world_directory/current_new_york_time.php</code></pre></div>After:<div class="codebox"><p>Code: </p><pre><code>&lt;~TommyTom&gt; !g time in new york&lt;~TTBot&gt; 3:38am Thursday (EST) - Time in New York, NY</code></pre></div>Since it's plain-text now (no URLs or images), I removed the cleanup code.<br><br>Be careful with this one because I don't know if those class IDs will change or get reused. I tried to match on "time in" as well even with the bold tags, but it wouldn't so it's not as solid of a match as I would like. Wish they had put some kinda of image URL to match on...<br><br>======<br>Going to bed now. Was looking into the weird "apple" search result (probably has to do with it showing the map of an apple store) and also the "define:" area. Need to figure out what match is being triggered for apple (probably just going into the wrong area because of all the "answers" and the ad(s)) and would be extremely helpful if I could see what "define:" output should look like (old logs or old posts, if anyone has any) as I don't quite get the code in there a don't recall what it looks like (plus, it's been broken since I found this script, so I dunno if it's changed).<br><br>Edit:<br>Fixed the regsub in time: to allow to get "long answer" if you have that option set (default is short).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11782">tommytom</a> — Thu Feb 23, 2012 4:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tommytom]]></name></author>
		<updated>2012-02-23T02:02:36-04:00</updated>

		<published>2012-02-23T02:02:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98847#p98847</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98847#p98847"/>
		<title type="html"><![CDATA[forked: UNOFFICIAL incith-google 2.0.0c (Sep9,2o11)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98847#p98847"><![CDATA[
I wasn't having that problem, but I will add it anyways in case it comes up (can't stand when HTML is spewed all over IRC like that).<br><br>I need to get back to fixing these things. I was on 1.99 (and fixed it) for so long I still need to understand how this one works.<br><br>I really want weather working, but I did it the wrong way the last time. I meant to put more time up for this script myself but haven't, so I know where speechles is coming from.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11782">tommytom</a> — Thu Feb 23, 2012 2:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[xREVx]]></name></author>
		<updated>2012-02-05T19:35:54-04:00</updated>

		<published>2012-02-05T19:35:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98719#p98719</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98719#p98719"/>
		<title type="html"><![CDATA[forked: UNOFFICIAL incith-google 2.0.0c (Sep9,2o11)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98719#p98719"><![CDATA[
np mate!<br><br>just added another line of code on my previous post, check it out <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=9177">xREVx</a> — Sun Feb 05, 2012 7:35 pm</p><hr />
]]></content>
	</entry>
	</feed>
