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

	<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-07-04T14:49:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[kanibus]]></name></author>
		<updated>2005-07-04T14:49:05-04:00</updated>

		<published>2005-07-04T14:49:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51775#p51775</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51775#p51775"/>
		<title type="html"><![CDATA[mrc to tcl: http]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51775#p51775"><![CDATA[
yeah im starting to write something from scratch, it wasnt that important so i was hoping someone had written one i could use already, but when im done ill post the finished scripts. it searches for Steam ID's(Unique ID for a game) in an online gaming leagues database.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6186">kanibus</a> — Mon Jul 04, 2005 2:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-04T11:34:33-04:00</updated>

		<published>2005-07-04T11:34:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51758#p51758</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51758#p51758"/>
		<title type="html"><![CDATA[mrc to tcl: http]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51758#p51758"><![CDATA[
it's sort of parsing a webpage, displaying results, and (naturally) it's written in auwful manner, like most mIRC scripts tend to be (and the blame for that shouldn't be solely on scripts' authors, since mIRC's scripting language syntax hardly encourages you to write clean, obvious and maintainable code)<br><br>maybe it's time for a "Parsing webpages" section in the FAQ forum... lots of folks have been asking for such stuff lately<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Jul 04, 2005 11:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2005-07-04T10:36:17-04:00</updated>

		<published>2005-07-04T10:36:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51751#p51751</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51751#p51751"/>
		<title type="html"><![CDATA[mrc to tcl: http]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51751#p51751"><![CDATA[
it would be alot easier to write the script from scratch than to convert some obscure mirc code.  Could you give us an idea of what this nonsensical mirc script is supposed to accomplish?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Mon Jul 04, 2005 10:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kanibus]]></name></author>
		<updated>2005-07-04T05:03:01-04:00</updated>

		<published>2005-07-04T05:03:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51742#p51742</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51742#p51742"/>
		<title type="html"><![CDATA[mrc to tcl: http]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51742#p51742"><![CDATA[
hey i am in search of a code, and i found the exact code i need but its in mrc <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> if someone could please convert this for me or know of a tcl that can search for CAL steam id's i would appreciate it. thanks.<div class="codebox"><p>Code: </p><pre><code>;; Original author: Parasite-FT-, #script (irc.gamesnet.net);; Modified to use a website which gave explicit permission to use it;; Modified again by eX|Psycho, #crisisZone (irc.gamesnet.net) for SteamID comptibility.;; Modified again by MeLt`pneumo, #pneumo (irc.gamesurge.net) for steamid.comalias urlencode { var %t, %i = 0 | while (%i &lt; $len($1)) { inc %i | if ($regex($mid($1,%i,1),/[A-Z0-9]/i)) { %t = %t $+ $mid($1,%i,1) } | else { %t = %t $+ % $+ $base($asc($mid($1,%i,1)),10,16,2) } } | return %t };; [STEAMID] ------- Text eventon *:text:@steamid *:#: {  inc -u30 %wonflood. [ $+ [ $nick ] ]  if (%wonflood. [ $+ [ $nick ] ] &gt; 3) return  sockclose steamid. $+ $nick  sockopen steamid. $+ $nick www.steamid.com 80  sockmark steamid. $+ $nick $2 n $+ $nick $ticks  sockmark steamid. $+ $nick $2 c $+ $chan $ticks};; [STEAMID] ------- Sockopen eventon *:sockopen:steamid.*:{  sockwrite -n $sockname GET /ircbot.php?qvalue= $+ $urlencode($gettok($sock($sockname).mark,1,32)) HTTP/1.1  sockwrite -n $sockname Host: www.steamid.com  sockwrite -n $sockname Connection: Close  sockwrite -n $sockname User-Agent: modified from ircscripting.net  sockwrite -n $sockname $crlf  set %steamid.total. [ $+ [ $sockname ] ] 0};; [STEAMID] ------- Sockread eventon *:sockread:steamid.*:{  if ($sockerr &gt; 0) return  while ($sock($sockname)) {    sockread %temp    window -e @steamid    echo @steamid : %temp    set -l %data $gettok($gettok(%temp,2,$asc(&gt; )),1,$asc(&lt; ))    if ($sockbr == 0) return    if (%temp == &lt;disabled&gt; ) {      if ($left($gettok($sock($sockname).mark,2,32),1) == n) notice $right($gettok($sock($sockname).mark,2,32),-1) Error, Source DB has been disabled, please contact %owner      else msg $right($gettok($sock($sockname).mark,2,32),-1) Error, Source DB has been disabled, please contact %owner    }    else if (%temp == &lt;/results&gt; ) {      if ($left($gettok($sock($sockname).mark,2,32),1) == n) notice $right($gettok($sock($sockname).mark,2,32),-1) %steamid.total. [ $+ [ $sockname ] ] result $+ $iif(%steamid.total. [ $+ [ $sockname ] ] != 1,s) found. [#melt]      else msg $right($gettok($sock($sockname).mark,2,32),-1) 0,1[ 0· %steamid.total. [ $+ [ $sockname ] ] result $+ $iif(%steamid.total. [ $+ [ $sockname ] ] != 1,s) found. Results from www.8Steam0ID.com 0,1 0· ]      if (%steamid.total. [ $+ [ $sockname ] ] &gt; 4) {        if ($left($gettok($sock($sockname).mark,2,32),1) == n) notice $right($gettok($sock($sockname).mark,2,32),-1) (only 4 results shown from: http://www.steamid.com/?qvalue= $+ %steamid.player_steamid. [ $+ [ $sockname ] ] )        else msg $right($gettok($sock($sockname).mark,2,32),-1) 0,1[ 0· (0only 8 4 0results shown from: http8://0www.8steamid0.com8/?0qvalue=8 $+ %steamid.player_steamid. [ $+ [ $sockname ] ] ) 0· ]      }      sockclose $sockname      unset %steamid.*. [ $+ [ $sockname ] ]    }    else if (%temp == &lt;result&gt; ) inc %steamid.total. [ $+ [ $sockname ] ]    else if (&lt;ban_status&gt;*&lt;/ban_status&gt; iswm %temp) set %steamid.ban_status. [ $+ [ $sockname ] ] %data    else if (&lt;player_id&gt;*&lt;/player_id&gt; iswm %temp) set %steamid.player_id. [ $+ [ $sockname ] ] %data    else if (&lt;player_alias&gt;*&lt;/player_alias&gt; iswm %temp) set %steamid.player_alias. [ $+ [ $sockname ] ] %data    else if (&lt;player_name&gt;*&lt;/player_name&gt; iswm %temp) set %steamid.player_name. [ $+ [ $sockname ] ] %data    else if (&lt;player_steamid&gt;*&lt;/player_steamid&gt; iswm %temp) set %steamid.player_steamid. [ $+ [ $sockname ] ] %data    else if (&lt;team_id&gt;*&lt;/team_id&gt; iswm %temp) set %steamid.team_id. [ $+ [ $sockname ] ] %data    else if (&lt;team_game&gt;*&lt;/team_game&gt; iswm %temp) set %steamid.team_game. [ $+ [ $sockname ] ] %data    else if (&lt;team_league&gt;*&lt;/team_league&gt; iswm %temp) set %steamid.team_league. [ $+ [ $sockname ] ] %data    else if (&lt;team_division&gt;*&lt;/team_division&gt; iswm %temp) set %steamid.team_division. [ $+ [ $sockname ] ] %data    else if (&lt;team_location&gt;*&lt;/team_location&gt; iswm %temp) set %steamid.team_location. [ $+ [ $sockname ] ] %data    else if (&lt;team_name&gt;*&lt;/team_name&gt; iswm %temp) set %steamid.team_name. [ $+ [ $sockname ] ] %data    else if (&lt;team_tag&gt;*&lt;/team_tag&gt; iswm %temp) set %steamid.team_tag. [ $+ [ $sockname ] ] %data    else if (&lt;team_irc&gt;*&lt;/team_irc&gt; iswm %temp) set %steamid.team_irc. [ $+ [ $sockname ] ] %data    else if (&lt;team_website&gt;*&lt;/team_website&gt; iswm %temp) set %steamid.team_website. [ $+ [ $sockname ] ] %data    else if (%temp == &lt;/result&gt; ) {      if (%steamid.total. [ $+ [ $sockname ] ] &lt; 5) {        set %steamid.return. [ $+ [ $sockname ] ] 0,1[ 0· 8S0team8ID8:0 %steamid.player_steamid. [ $+ [ $sockname ] ] 8A0lias8:0 %steamid.player_alias. [ $+ [ $sockname ] ] 8T0eam8:0 %steamid.team_name. [ $+ [ $sockname ] ] 8C0hannel8:0 %steamid.team_irc. [ $+ [ $sockname ] ] 8L0eague8:0 %steamid.team_league. [ $+ [ $sockname ] ] 0· ]        if ($left($gettok($sock($sockname).mark,2,32),1) == n) notice $right($gettok($sock($sockname).mark,2,32),-1) %steamid.return. [ $+ [ $sockname ] ]        else msg $right($gettok($sock($sockname).mark,2,32),-1) %steamid.return. [ $+ [ $sockname ] ]      }    }  }  unset %steamid*}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6186">kanibus</a> — Mon Jul 04, 2005 5:03 am</p><hr />
]]></content>
	</entry>
	</feed>
