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

	<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-04-24T19:39:26-04:00</updated>

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

		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2005-04-24T19:39:26-04:00</updated>

		<published>2005-04-24T19:39:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48523#p48523</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48523#p48523"/>
		<title type="html"><![CDATA[Script request !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48523#p48523"><![CDATA[
hm.. am i the only one noticing? i clicked on "new entries since last visit" and i saw about 4 posts called "script request!" in the requests forum...<br>guys, of course it is a request if you're posting in the _requests_ forum <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><br>wasn't there a rule about "meaningful topic names"? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2617">arcane</a> — Sun Apr 24, 2005 7:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-04-24T18:01:01-04:00</updated>

		<published>2005-04-24T18:01:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48518#p48518</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48518#p48518"/>
		<title type="html"><![CDATA[Script request !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48518#p48518"><![CDATA[
a based example is a google script like this one: <a href="http://forum.egghelp.org/viewtopic.php?t=9207&amp;highlight=google" class="postlink">http://forum.egghelp.org/viewtopic.php? ... ght=google</a><br><div class="codebox"><p>Code: </p><pre><code>if { [regexp {(?i)Map name[^\n]*\n[^\n]*: ([^\n]*)&lt;.*Game mode[^\n]*\n[^\n]*: ([^\n]*)&lt;.*Number of players[^\n]*\n[^\n]*: ([^\n]*)&lt;.*Maximum number of players[^\n]*\n[^\n]*: ([^\n]*)&lt;.*Server IP[^\n]*\n[^\n]*: ([^\n]*)&lt;} $body {} mapname gamemode numplayers maxplayers sevrerip] } {   success} else {   failure}</code></pre></div>within "success" you can access the 5 variables with its normal content and formate it to an output.<br>If "failure" the site is most likely broken or has changed its style.<br>you can refer the TCL manual to understand more about regexp and re_syntax.<br>PS: [^\n] stands for all characters except line break. Plus I hope I didnt break the expression, when editing it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sun Apr 24, 2005 6:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ElZeRo]]></name></author>
		<updated>2005-04-23T17:21:26-04:00</updated>

		<published>2005-04-23T17:21:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48489#p48489</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48489#p48489"/>
		<title type="html"><![CDATA[Script request !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48489#p48489"><![CDATA[
If you can give me An html file ... and an tcl script ... so that i can see how it works .. i think that would work !<br><br>Like test.html<br>test.tcl ... <br> <br>Where test.tcl is parsing the test.html ... and "taking" 2 linen from then test.html to be postet in IRC !...<br><br>Then I think i can do it my self !<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6092">ElZeRo</a> — Sat Apr 23, 2005 5:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-04-23T12:00:57-04:00</updated>

		<published>2005-04-23T12:00:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48469#p48469</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48469#p48469"/>
		<title type="html"><![CDATA[Script request !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48469#p48469"><![CDATA[
would you be happy with only the regular expression phrasing the html code?<br>meaning can you create the egghttp/http request proc by yourself?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Apr 23, 2005 12:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ElZeRo]]></name></author>
		<updated>2005-04-23T05:23:17-04:00</updated>

		<published>2005-04-23T05:23:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48459#p48459</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48459#p48459"/>
		<title type="html"><![CDATA[Script request !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48459#p48459"><![CDATA[
I'm looking for some kind of TLC-script that can turn HTML into an Egg-drop output, like the "rssnew.tcl" -- <br><br>What the script should do is : <br><br>From the "<a href="http://www.elzero.dk/query/" class="postlink">http://www.elzero.dk/query/</a>" site, my Egg-drop should be able to post in #channel with a trigger like "!utserver" <br><br>Map name : DM-Rankin <br>Game mode : Death Match <br>Number of players : 0 <br>Maximum number of players : 2 <br>Server IP : 62.199.232.42:7777 <br><br>Could some one be at help ? <br><br>Regards <br>ElZeRo<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6092">ElZeRo</a> — Sat Apr 23, 2005 5:23 am</p><hr />
]]></content>
	</entry>
	</feed>
