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

	<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-19T16:33:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-19T16:33:58-04:00</updated>

		<published>2005-07-19T16:33:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52884#p52884</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52884#p52884"/>
		<title type="html"><![CDATA[need help with script i am trying to make]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52884#p52884"><![CDATA[
first off, you have declared proc statfile:make as taking argument, but you don't supply an argument when calling it<br><br>secondly, you can't obtain the topic author's nick and timestamp this way; take a look <a href="http://forum.egghelp.org/viewtopic.php?t=9969" class="postlink">here</a><br><br>also, when getting topic, you need to check whether the bot's actually on the channel - if it's not, you'll get an error<br><br>pay more attention to details when reading tcl-commands.doc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Jul 19, 2005 4:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Big Jay]]></name></author>
		<updated>2005-07-19T16:11:18-04:00</updated>

		<published>2005-07-19T16:11:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52883#p52883</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52883#p52883"/>
		<title type="html"><![CDATA[need help with script i am trying to make]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52883#p52883"><![CDATA[
here is a short bit of code i wrote, far from finished but one step at a time ay <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>onlt prob is it doesnt do nothin atall. timer doesnt work i dont think. not sure<br><br>any ideas<br><br><div class="codebox"><p>Code: </p><pre><code>set statfile "/home/user/public_html/stats.php" set channel "#channel" if {![info exists stats_running]} {       timer 5 statfile:make                          set stats_running 1                 }                                   proc statfile:make {args} { global statfile channel botnickset topic [topic $channel topic]set setby [topic $channel nick]set settime [ctime [topic $channel unixtime]]set outputfile [open $statfile w]puts $outputfile "&lt;table width=100% cellspacing=0 cellpadding=0&gt;"puts $outputfile "&lt;tr&gt;"puts $outputfile "&lt;td&gt;Stats for $channel&lt;/td&gt;"puts $outputfile "&lt;/tr&gt;"puts $outputfile "&lt;tr&gt;"puts $outputfile "&lt;td&gt;topic: $topic&lt;/td&gt;"puts $outputfile "&lt;/tr&gt;"puts $outputfile "&lt;tr&gt;"puts $outputfile "&lt;td&gt;Set by: $setby on $settime&lt;/td&gt;"puts $outputfile "&lt;/tr&gt;"puts $outputfile "&lt;/table&gt;"close $statfileputlog "Saving $channel stats..." timer 5 statfilet:makereturn 1} </code></pre></div>any help would be very much apreciated<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6474">Big Jay</a> — Tue Jul 19, 2005 4:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
