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

	<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>2014-03-26T20:07:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2014-03-26T20:07:18-04:00</updated>

		<published>2014-03-26T20:07:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102708#p102708</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102708#p102708"/>
		<title type="html"><![CDATA[TCL error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102708#p102708"><![CDATA[
This may be the error line...<div class="codebox"><p>Code: </p><pre><code>       set tsize [expr $totalsize / 1024] Â· </code></pre></div>Make that more like this maybe...<div class="codebox"><p>Code: </p><pre><code>       set tsize "[expr $totalsize / 1024] Â·" </code></pre></div>Better yet, what's the deal with the Â· anyway??  just get rid of that...<div class="codebox"><p>Code: </p><pre><code>       set tsize [expr $totalsize / 1024] </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Wed Mar 26, 2014 8:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[COBRa]]></name></author>
		<updated>2014-03-26T17:14:31-04:00</updated>

		<published>2014-03-26T17:14:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102707#p102707</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102707#p102707"/>
		<title type="html"><![CDATA[TCL error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102707#p102707"><![CDATA[
hi im writing a script to give me a better number output im using this code to achieve it<br><div class="codebox"><p>Code: </p><pre><code>proc isy:sizeconvert { totalsize } {  set tsize $totalsize  set tsize "[format "%.2f" $tsize]\00315MB\003"  if {$totalsize &gt;= 1024 &amp;&amp; $totalsize &lt; 1048576} {  set tsize [expr $totalsize / 1024] Â· set tsize "[format "%.2f" $tsize]\00315GB\003"  }  if {$totalsize &gt;= 1048576} {  set tsize [expr $totalsize / 1024 / 1024];  set tsize "[format "%.2f" $tsize]\00315TB\003"  }  return $tsize  }  </code></pre></div>and the output line is this<br><div class="codebox"><p>Code: </p><pre><code>set sizecount [isy:sizeconvert [lindex $row 3]]</code></pre></div>but when i action the script i receive this error<br><br> Tcl error [isy:group]: wrong # args: should be "set varName ?newValue?"<br><br>any help would be appreciated<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12170">COBRa</a> — Wed Mar 26, 2014 5:14 pm</p><hr />
]]></content>
	</entry>
	</feed>
