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

	<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-03-06T15:24:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stoo]]></name></author>
		<updated>2004-03-06T15:24:38-04:00</updated>

		<published>2004-03-06T15:24:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34306#p34306</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34306#p34306"/>
		<title type="html"><![CDATA[Clan Ladder rank help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34306#p34306"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub -|- !rank rank:rankpackage require http proc rank:rank {nick host handle chan content} {set division "Division 1"set game "CS"set channel "#MaGiK^"set ladderid "3"set clanid "7394"set content [http::data [http::geturl "http://www.enemydown.co.uk/ed_clanrank.php?ladder=$ladderid&amp;clan=$clanid"]] if {[regexp "&lt;b&gt;(.*)&lt;/b&gt;" $content match rank] } { regsub -all {&lt;.+?&gt;} $match {} matchputhelp "PRIVMSG $channel : \002\0034,1 Retreving Rank from http://www.enemydown.co.uk on request of $nick\003\002"puthelp "PRIVMSG $channel : \002\0034,1 Enemy Down \0030,1:: \0034,1$game $division Ladder \0030,1::\0034,1 Rank $match \003\002" } }</code></pre></div>Finally it works, theres the code for anyone who needs it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4497">stoo</a> — Sat Mar 06, 2004 3:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-06T08:59:12-04:00</updated>

		<published>2004-03-06T08:59:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34300#p34300</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34300#p34300"/>
		<title type="html"><![CDATA[Clan Ladder rank help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34300#p34300"><![CDATA[
this is what i have in mirc script.... i hope you know how to translate it to tcl ^^<div class="codebox"><p>Code: </p><pre><code>//ON CONNECT UPDATEon *:connect:{  .timertdm.be 1 2 tdm.be)//TDM.BENELUXon *:sockopen:tdm.be:{   sockwrite -n $sockname GET /cbrank.php?cid=290541&amp;lid=1250&amp;type=js HTTP/1.1  sockwrite -n $sockname Host: www.clanbase.com  sockwrite -n $sockname $crlf $+ $crlf}on 1:sockread:tdm.be:{  if ($sockerr &gt; 0) return  :nextread  sockread %temp  if ($sockbr == 0) return  if (document.write isin %temp) {     set %r.tdm.be = $remove(%temp,document.write)  }    goto nextread}Dit in alias://TDM.BENELUXtdm.be {  if ($sock(tdm.be)) { sockclose tdm.be }  sockopen tdm.be www.clanbase.com 80 }</code></pre></div>i'm learning tcl now someone got a tip????<p>Statistics: Posted by Guest — Sat Mar 06, 2004 8:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stoo]]></name></author>
		<updated>2004-03-05T17:08:26-04:00</updated>

		<published>2004-03-05T17:08:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34279#p34279</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34279#p34279"/>
		<title type="html"><![CDATA[Clan Ladder rank help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34279#p34279"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>package require httpproc rank:rank {nick host handle chan content} {set content [http::data [http::geturl "http://www.enemydown.co.uk/ed_clanrank.php?ladder=3&amp;clan=7394"]]}if [regexp "&lt;b&gt;(.*)&lt;/b&gt;" $content match rank] } { puthelp "PRIVMSG $chan :$match" }</code></pre></div>this gives me the error<br>[22:01] can't read "content": no such variable<br>    while executing<br>"regexp "&lt;b&gt;(.*)&lt;/b&gt;" $content match rank"<br>    invoked from within<br>"if [regexp "&lt;b&gt;(.*)&lt;/b&gt;" $content match rank] } {<br>puthelp "PRIVMSG $chan :$match"<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4497">stoo</a> — Fri Mar 05, 2004 5:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2004-03-04T23:19:11-04:00</updated>

		<published>2004-03-04T23:19:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34255#p34255</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34255#p34255"/>
		<title type="html"><![CDATA[Clan Ladder rank help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34255#p34255"><![CDATA[
You forgot the part where you download the url. Take a look at some other web downloading scripts for hints.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Thu Mar 04, 2004 11:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stoo]]></name></author>
		<updated>2004-03-04T23:09:37-04:00</updated>

		<published>2004-03-04T23:09:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34254#p34254</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34254#p34254"/>
		<title type="html"><![CDATA[Clan Ladder rank help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34254#p34254"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>package require http bind pub - !rank rank:rank proc rank:rank {nick host handle chan text} { set url "http://www.enemydown.co.uk/ed_clanrank.php?ladder=3&amp;clan=7394"       {  if {[regexp "&lt;b&gt;(.*)&lt;/b&gt;" $text match rank] } {             puthelp "PRIVMSG $chan :$rank"           }         }  }</code></pre></div>that isnt working, any ideas ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4497">stoo</a> — Thu Mar 04, 2004 11:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2004-03-04T22:27:16-04:00</updated>

		<published>2004-03-04T22:27:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34253#p34253</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34253#p34253"/>
		<title type="html"><![CDATA[Clan Ladder rank help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34253#p34253"><![CDATA[
regexp "&lt;b&gt;(.*)&lt;/b&gt;" $text match rank<br><br>$text = text of web page<br>$rank = clan's rank<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Thu Mar 04, 2004 10:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stoo]]></name></author>
		<updated>2004-03-04T18:21:03-04:00</updated>

		<published>2004-03-04T18:21:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34250#p34250</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34250#p34250"/>
		<title type="html"><![CDATA[Clan Ladder rank help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34250#p34250"><![CDATA[
anyone ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4497">stoo</a> — Thu Mar 04, 2004 6:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stoo]]></name></author>
		<updated>2004-03-03T13:20:23-04:00</updated>

		<published>2004-03-03T13:20:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34207#p34207</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34207#p34207"/>
		<title type="html"><![CDATA[Clan Ladder rank help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34207#p34207"><![CDATA[
the ED site goes down all the time due to the large number of hits<br><br>but basically i need a script to read the position, anything else i can do on my own, its just the whole regexp thing<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4497">stoo</a> — Wed Mar 03, 2004 1:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2004-03-02T15:33:00-04:00</updated>

		<published>2004-03-02T15:33:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34162#p34162</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34162#p34162"/>
		<title type="html"><![CDATA[Clan Ladder rank help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34162#p34162"><![CDATA[
document.write(""); document.write("<br>"); document.write(""); document.write("<br>UK - Division 1<br>"); document.write("16<br>"); document.write("MgK |"); document.write("<br>");<br><br>Hm site isnt working?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Tue Mar 02, 2004 3:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stoo]]></name></author>
		<updated>2004-03-02T15:14:21-04:00</updated>

		<published>2004-03-02T15:14:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34160#p34160</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34160#p34160"/>
		<title type="html"><![CDATA[Clan Ladder rank help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34160#p34160"><![CDATA[
from then i have tried myself and i am asking again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4497">stoo</a> — Tue Mar 02, 2004 3:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2004-03-02T13:52:40-04:00</updated>

		<published>2004-03-02T13:52:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34154#p34154</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34154#p34154"/>
		<title type="html"><![CDATA[Clan Ladder rank help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34154#p34154"><![CDATA[
double post, you allready requested that one a while ago, no need for a new thread<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Tue Mar 02, 2004 1:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stoo]]></name></author>
		<updated>2004-03-02T13:00:34-04:00</updated>

		<published>2004-03-02T13:00:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34151#p34151</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34151#p34151"/>
		<title type="html"><![CDATA[Clan Ladder rank help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34151#p34151"><![CDATA[
<a href="http://www.enemydown.co.uk/ed_clanrank.php?ladder=3&amp;clan=7394" class="postlink">http://www.enemydown.co.uk/ed_clanrank. ... &amp;clan=7394</a><br><br>that link is the rank for my clan, i need a simple script that will get the number and allow for it to be said in the channel on a prompt e.g !rank<br><br>anyone who could write this would be of great help<br><br>i was trying to do this myself but my tcl skills are low and i cannot get my head round regexp.<br><br>Thanks to anyone who can help<br><br>--Stoo<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4497">stoo</a> — Tue Mar 02, 2004 1:00 pm</p><hr />
]]></content>
	</entry>
	</feed>
