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

	<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>2005-01-23T08:43:45-04:00</updated>

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

		<entry>
		<author><name><![CDATA[micky]]></name></author>
		<updated>2005-01-23T08:43:45-04:00</updated>

		<published>2005-01-23T08:43:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45729#p45729</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45729#p45729"/>
		<title type="html"><![CDATA[Help..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45729#p45729"><![CDATA[
Someone write this in one script? <br><div class="codebox"><p>Code: </p><pre><code>proc bf_callback {sock} {global bfNICK bfCOUforeach line [split [egghttp:data $sock] \n] {if {[string match "*&lt;font  size=3 class="text3"&gt;&lt;b&gt;*" $line] &amp;&amp; [string match "*$bfCOU*" $line]} {regsub -all -- {&lt;[^&gt;]*&gt;} $line "" lineputserv "NOTICE $bfNICK :Boxoffice ($bfCOU) - $line"  }}unset bfCOUunset bfNICK}proc pub:office {nick uhst hand chan args} {global bfNICK bfCOUset cou [lindex $args 0]if {$cou == ""} {putserv "NOTICE $nick :Usage: .bf &lt;usa|japan&gt;"return 0}set url "http://www.mypage.us/boxoffice/"set sock [egghttp:geturl $url bf_callback]set bfNICK "$nick"set bfCOU "$cou"}</code></pre></div>I dont wont use global sets (bf*). thx for help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5782">micky</a> — Sun Jan 23, 2005 8:43 am</p><hr />
]]></content>
	</entry>
	</feed>
