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

	<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>2006-05-22T13:36:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[kanibus]]></name></author>
		<updated>2006-05-22T13:36:17-04:00</updated>

		<published>2006-05-22T13:36:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63280#p63280</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63280#p63280"/>
		<title type="html"><![CDATA[Query a CS:S Server and say it to channel in specified time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63280#p63280"><![CDATA[
there is a really nice rcon module written for the hl1 engine @ <a href="http://www.limit.org" class="postlink">www.limit.org</a> but im not sure if it will work for source servers as well<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6186">kanibus</a> — Mon May 22, 2006 1:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-04-26T05:11:33-04:00</updated>

		<published>2006-04-26T05:11:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62360#p62360</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62360#p62360"/>
		<title type="html"><![CDATA[Query a CS:S Server and say it to channel in specified time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62360#p62360"><![CDATA[
If you have a website, easiest would be to use package http to query it. The FAQ <a href="http://forum.egghelp.org/viewtopic.php?t=9972" class="postlink">Parsing webpages made easy</a> is a nice example.<br>As mentioned above, as far as I know, CS:S servers uses UDP only and neither TCL nor Eggdrop supports UDP (though I think it wouldnt be that hard to rewrite CONNECT to something like CONNECTUDP, but its totally unneccesarrily effort).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed Apr 26, 2006 5:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dAmN123]]></name></author>
		<updated>2006-04-25T02:59:26-04:00</updated>

		<published>2006-04-25T02:59:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62309#p62309</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62309#p62309"/>
		<title type="html"><![CDATA[Query a CS:S Server and say it to channel in specified time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62309#p62309"><![CDATA[
hmm i have a website but not a script for query a gameserver and i`m not as good in tcl. can you give me the code?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7685">dAmN123</a> — Tue Apr 25, 2006 2:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-04-24T17:36:26-04:00</updated>

		<published>2006-04-24T17:36:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62295#p62295</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62295#p62295"/>
		<title type="html"><![CDATA[Query a CS:S Server and say it to channel in specified time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62295#p62295"><![CDATA[
do you have a webpage with that infos or will the script be forced to trigger a direct query to the cs:s server? afaik that was a UDP/IP connection, if I am not mistaken which would require to call an extern IP app/script to fetch it. I am pretty sure there is some PERL script lurking around for that purpose. you will then have to fileevent (async exec with open |) and when its finished you can print your line (or print server down, if query failed <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> — Mon Apr 24, 2006 5:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dAmN123]]></name></author>
		<updated>2006-04-24T15:36:29-04:00</updated>

		<published>2006-04-24T15:36:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62289#p62289</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62289#p62289"/>
		<title type="html"><![CDATA[Query a CS:S Server and say it to channel in specified time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62289#p62289"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set channel "#css.worldwide"set time 20set text {"84.254.76.25:27015 #css.worldwide""There are currently $player players on $map""css.worldwide is powered by Linemax.de"} if {[string compare [string index $time 0] "!"] == 0} { set timer [string range $time 1 end] } { set timer [expr $time * 60] }if {[lsearch -glob [utimers] "* go *"] == -1} { utimer $timer go } proc go {} {global channel time text timerforeach chan $channel {putserv "MODE $chan +m-c"foreach line $text { putserv "PRIVMSG $chan :$line" }putserv "MODE $chan -m+c"}if {[lsearch -glob [utimers] "* go *"] == -1} { utimer $timer go }}</code></pre></div>Now my Description:<br>Every 20 Minutes the Eggdrop have to set mode -c+m than he should wrote the text and $player stand e.g. for 10/14 and $map e.g. de_dust2<br><br>Now i don`t know how to go on i hope you can help me<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7685">dAmN123</a> — Mon Apr 24, 2006 3:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
