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

	<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>2002-07-31T06:44:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-07-31T06:44:30-04:00</updated>

		<published>2002-07-31T06:44:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9351#p9351</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9351#p9351"/>
		<title type="html"><![CDATA[Err.... Slow or thats the way it has to be?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9351#p9351"><![CDATA[
Too be honest, I hate HTML parsing, and I hate regsub's even more, mainly due to the fact, I find them hard (more likely coz I hate perl)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed Jul 31, 2002 6:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-07-31T06:26:36-04:00</updated>

		<published>2002-07-31T06:26:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9349#p9349</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9349#p9349"/>
		<title type="html"><![CDATA[Err.... Slow or thats the way it has to be?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9349#p9349"><![CDATA[
Heres what the code does and post after its done taking out the trash ---<br><br>[03:25] &lt;dcboy&gt; !lw dcboy<br>[03:25] &lt;octain&gt; l33t-Wars - Player Rankings<br>[03:25] &lt;octain&gt;  <br>[03:25] &lt;octain&gt; [Devils0wn] dcboy<br>[03:25] &lt;octain&gt; Personal Information<br>[03:25] &lt;octain&gt; Name: dcboy<br>[03:25] &lt;octain&gt; Gang: [Devils0wn]<br>[03:25] &lt;octain&gt; Location: US West<br>[03:25] &lt;octain&gt;  Global Rank: 1618      Cash: $26,793,863,485.71 <br>[03:25] &lt;octain&gt;  Total Drugs: $0.00<br>[03:25] &lt;octain&gt;  Total Value: $26,806,028,335.71<br>[03:25] &lt;octain&gt; Followers<br>[03:25] &lt;octain&gt; Thugs<br>[03:25] &lt;octain&gt; Baby Gangster 24000<br>[03:25] &lt;octain&gt; Punk 15500<br>[03:25] &lt;octain&gt; Original Gangster 10250<br>[03:25] &lt;octain&gt; Mercenaries Unknown<br>[03:25] &lt;octain&gt; Hoes<br>[03:25] &lt;octain&gt; Street Ho 2106<br>[03:25] &lt;octain&gt; Web Cam Girl 2185<br>[03:25] &lt;octain&gt; Escort 16<br><br>does that help any?<p>Statistics: Posted by Guest — Wed Jul 31, 2002 6:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-07-31T06:16:58-04:00</updated>

		<published>2002-07-31T06:16:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9347#p9347</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9347#p9347"/>
		<title type="html"><![CDATA[Err.... Slow or thats the way it has to be?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9347#p9347"><![CDATA[
OK - I can see the page, but without running the script (which I not willing to do), we don't know what information it does spit out.<br><br>Maybe posting the exact output.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed Jul 31, 2002 6:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-07-30T00:19:50-04:00</updated>

		<published>2002-07-30T00:19:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9331#p9331</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9331#p9331"/>
		<title type="html"><![CDATA[Err.... Slow or thats the way it has to be?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9331#p9331"><![CDATA[
Okay i wrote this code so when a user in my chan pulls the trigger !lw blah  it will then go to the website get the info and paste it.. Problem is that its really slow and thats probably do to them regsubs... How to make it faster? BTW im fairly new to TCL so go easy <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><blockquote class="uncited"><div>set lwname(cmdchar) "!"<br>set lwtrig "lw"<br><br>bind pub - [string trim $lwname(cmdchar)]$lwtrig stat:nam<br><br>proc stat:nam {nick uhost hand chan text} {<br>set lwnick [split $text]<br>if {$lwnick == ""} {<br>putserv "NOTICE $nick :Incorrext Syantax you JACKASS."<br>putserv "NOTICE $nick :Correct Syantax would be - !lw &lt;lwname&gt; - ie. !lw Turd91"<br>} else {<br>     lw_socket $nick $chan $text $lwnick    <br>}<br> }<br><br><br>proc lw_socket {nick chan text lwnick} {<br>set sock [socket <a href="http://www.l33t-wars.com" class="postlink">www.l33t-wars.com</a> 80] <br>puts $sock "GET /find.php?find=$lwnick" <br>flush $sock <br>set i 0<br>set ln 0<br>while {![eof $sock]} {<br>      set line [gets $sock] <br>      lappend buffer $line<br>      incr ln<br>set attout "Attack $lwnick"<br>      regsub -all -- {(&lt;.+?&gt;)} $buffer "" buffer<br>      regsub -all -- {\}|\{} $buffer "" buffer<br>      regsub -all -- {|           |        |  } $buffer "" buffer <br>      regsub -all -- { } $buffer "" buffer<br>regsub -all -- {&lt;!--BODYfont-family: verdana;} $buffer "" buffer <br>regsub -all -- {A:link text-decoration: none} $buffer "" buffer<br>regsub -all -- {A:visited text-decoration: none font-familt} $buffer "" buffer<br>regsub -all -- {A:active text-decoration: none} $buffer "" buffer<br>regsub -all -- {A:hover color:white--&gt;} $buffer "" buffer<br>regsub -all -- {Cash:} $buffer "      Cash:" buffer   <br>regsub -all -- $attout $buffer "" buffer<br>      regsub -all -- {!} $buffer "" buffer <br>regsub -all -- {Go Back} $buffer "" buffer<br>regsub -all -- {Back} $buffer "" buffer<br>regsub -all -- {Home -} $buffer "" buffer<br>regsub -all -- {Sign Up -} $buffer "" buffer<br>regsub -all -- {Terms of Service -} $buffer "" buffer<br>regsub -all -- {Links -} $buffer "" buffer<br>regsub -all -- {Back-} $buffer "" buffer<br>regsub -all -- {Contact Us} $buffer "" buffer<br>regsub -all -- {Copyright © 2002 Net-Warz. All rights reserved.} $buffer "" buffer<br>      regsub -all -- {Gangster} $buffer "Gangster " buffer<br>      regsub -all -- {Punk} $buffer "Punk " buffer<br>     regsub -all -- {Mercenaries} $buffer "Mercenaries " buffer<br>regsub -all -- {Street Ho} $buffer "Street Ho " buffer<br>      regsub -all -- {Girl} $buffer "Girl " buffer<br>     regsub -all -- {Escort} $buffer "Escort " buffer<br>regsub -all -- {Highschool Pusher} $buffer "Highschool Pusher " buffer<br>regsub -all -- {College Dealer} $buffer "College Dealer " buffer<br>regsub -all -- {Drug Lord} $buffer "Drug Lord " buffer<br>      regsub -all -- {:} $buffer ": " buffer<br>      putquick "privmsg $chan :$buffer"<br>      set ln 0<br>      set buffer ""<br>} <br> }</div></blockquote><p>Statistics: Posted by Guest — Tue Jul 30, 2002 12:19 am</p><hr />
]]></content>
	</entry>
	</feed>
