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

	<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-03-31T08:50:37-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2012-03-31T08:50:37-04:00</updated>

		<published>2012-03-31T08:50:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99149#p99149</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99149#p99149"/>
		<title type="html"><![CDATA[How can we use exist command for web read?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99149#p99149"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>6:54:57pm / * &lt;iRoc&gt; !superlig6:54:59pm / * &lt;iB0T&gt;  1- Galatasaray 32 21 8 3 63 24 71 6:55:00pm / * &lt;iB0T&gt;  2- Fenerbahçe 32 19 7 6 58 33 64 6:55:01pm / * &lt;iB0T&gt;  3- Trabzonspor 32 15 9 8 59 38 54 6:55:02pm / * &lt;iB0T&gt;  4- Be_ikta_ 32 15 9 8 49 37 54 6:55:04pm / * &lt;iB0T&gt;  5- Sivasspor 32 12 11 9 55 52 47 6:55:07pm / * &lt;iB0T&gt;  6- Bursaspor 32 12 10 10 41 32 46 6:55:08pm / * &lt;iB0T&gt;  7- Gençlerbirlii 32 12 10 10 46 47 46 6:55:10pm / * &lt;iB0T&gt;  8- Eski_ehirspor 32 13 7 12 38 39 46 6:55:12pm / * &lt;iB0T&gt;  9- Gaziantepspor 33 12 9 12 37 33 45 6:55:14pm / * &lt;iB0T&gt;  10- 0stanbul B^B 32 12 8 12 46 49 44 6:55:16pm / * &lt;iB0T&gt;  11- KDÇ Karabükspor 33 13 4 16 43 55 43 6:55:18pm / * &lt;iB0T&gt;  12- Mersin 0dman Yurdu 33 12 6 15 34 43 42 6:55:20pm / * &lt;iB0T&gt;  13- Orduspor 32 10 11 11 28 32 41 6:55:22pm / * &lt;iB0T&gt;  14- Kayserispor 32 12 4 16 35 37 40 6:55:24pm / * &lt;iB0T&gt;  15- M.P. Antalyaspor 32 10 9 13 31 37 39 6:55:26pm / * &lt;iB0T&gt;  16- Samsunspor 32 8 9 15 34 45 33 6:55:28pm / * &lt;iB0T&gt;  17- Manisaspor 32 8 8 16 31 45 32 6:55:30pm / * &lt;iB0T&gt;  18- Ankaragücü 33 2 5 26 22 72 11 </code></pre></div><div class="codebox"><p>Code: </p><pre><code>package require httpbind pub - !superlig superligproc superlig {nick uhost hand chan text} {set t [::http::geturl http://sporistatistik.hurriyet.com.tr/]set data [::http::data $t]::http::cleanup $t   set l [regexp -all -inline -- {&lt;div class="PuanDurumuBaslik FL"&gt;(.*?)&lt;/div&gt;.*?&lt;div class="PuanDurumuPuan FL"&gt;(.*?)&lt;/div&gt;.*?&lt;div class="PuanDurumuPuan FL"&gt;(.*?)&lt;/div&gt;.*?&lt;div class="PuanDurumuPuan FL"&gt;(.*?)&lt;/div&gt;.*?&lt;div class="PuanDurumuPuan FL"&gt;(.*?)&lt;/div&gt;.*?&lt;div class="PuanDurumuPuan FL"&gt;(.*?)&lt;/div&gt;.*?&lt;div class="PuanDurumuPuan FL"&gt;(.*?)&lt;/div&gt;.*?&lt;div class="PuanDurumuPuan_2 FL"&gt;(.*?)&lt;/div&gt;} $data]   foreach {black a b c d e f g h} $l {      set a [string trim $a " \n"]   set b [string trim $b " \n"]   set c [string trim $c " \n"]   set d [string trim $d " \n"]   set e [string trim $e " \n"]   set f [string trim $f " \n"]   set g [string trim $g " \n"]      set h [string trim $h " \n"]               regsub -all {&lt;.+?&gt;} $a {} a   regsub -all {&lt;.+?&gt;} $b {} b   regsub -all {&lt;.+?&gt;} $c {} c      regsub -all {&lt;.+?&gt;} $d {} d   regsub -all {&lt;.+?&gt;} $e {} e   regsub -all {&lt;.+?&gt;} $f {} f   regsub -all {&lt;.+?&gt;} $g {} g   regsub -all {&lt;.+?&gt;} $h {} h         putserv "PRIVMSG $chan : $a $b $c $d $e $f $g $h "   }}</code></pre></div><p>Statistics: Posted by Guest — Sat Mar 31, 2012 8:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Regex]]></name></author>
		<updated>2012-03-30T08:27:30-04:00</updated>

		<published>2012-03-30T08:27:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99146#p99146</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99146#p99146"/>
		<title type="html"><![CDATA[How can we use exist command for web read?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99146#p99146"><![CDATA[
Hi, nowadays i'm workin' with http tcl.<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !superlig superlig proc superlig {nick uhost hand chan text} {   global botnick  set connect [::http::geturl http://sporistatistik.hurriyet.com.tr/]   set files [::http::data $connect]   regexp -nocase {&lt;div class="PuanDurumuBaslik FL"&gt;&lt;span style="color:#000"&gt;(.+?)&lt;/span&gt;} $files - sayi  regexp -nocase {&lt;/span&gt; (.+?)&lt;/div&gt;} $files - team  regexp -nocase {&lt;div class="PuanDurumuPuan_2 FL"&gt;(.+?)&lt;/div&gt;} $files - puan  ::http::cleanup $files   putquick "privmsg $chan $sayi $team ($puan)" }</code></pre></div>This is my simple script but bot givin' only one message. Other teams aint givin' by bot. How can we correct this?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11617">Regex</a> — Fri Mar 30, 2012 8:27 am</p><hr />
]]></content>
	</entry>
	</feed>
