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

	<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-02-03T17:18:12-04:00</updated>

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

		<entry>
		<author><name><![CDATA[TaRgEt]]></name></author>
		<updated>2006-02-03T17:18:12-04:00</updated>

		<published>2006-02-03T17:18:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60086#p60086</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60086#p60086"/>
		<title type="html"><![CDATA[convert mb into gb]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60086#p60086"><![CDATA[
works absolute perfect now demond <br><br>thx bud <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6777">TaRgEt</a> — Fri Feb 03, 2006 5:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2006-02-02T23:46:24-04:00</updated>

		<published>2006-02-02T23:46:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60062#p60062</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60062#p60062"/>
		<title type="html"><![CDATA[convert mb into gb]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60062#p60062"><![CDATA[
strip commas from $mb:<div class="codebox"><p>Code: </p><pre><code>set gb [expr [string map {, {}} $mb] / 1024.]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Feb 02, 2006 11:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TaRgEt]]></name></author>
		<updated>2006-02-02T08:40:20-04:00</updated>

		<published>2006-02-02T08:40:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60030#p60030</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60030#p60030"/>
		<title type="html"><![CDATA[convert mb into gb]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60030#p60030"><![CDATA[
i've tried it demond but that just won't work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6777">TaRgEt</a> — Thu Feb 02, 2006 8:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2006-02-02T02:18:31-04:00</updated>

		<published>2006-02-02T02:18:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60014#p60014</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60014#p60014"/>
		<title type="html"><![CDATA[convert mb into gb]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60014#p60014"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>[expr $mb / 1024.]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Feb 02, 2006 2:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TaRgEt]]></name></author>
		<updated>2006-02-02T08:43:17-04:00</updated>

		<published>2006-02-01T22:31:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60003#p60003</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60003#p60003"/>
		<title type="html"><![CDATA[convert mb into gb]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60003#p60003"><![CDATA[
i hav vnstat running on my eggy n one thing i've neva been able to find is a script to convert the mb into gb on the eggy my script is:<br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- !vnstat vnstatset slavename "00"proc vnstat {nick uhost hand chan text} {global slavenameif {([string match $slavename [string toupper [lindex $text 0]]]) || ([string match [string toupper [lindex $text 0]] ""])} {      set date [clock format [clock seconds] -format "%b '%y" -gmt 0]      set month [lindex [split "[exec vnstat -m]" "\n"] end-2]      set mb [lrange $month end-1 end-1]      putserv "PRIVMSG $chan :During \002$date\002 we have used $mb "  }}</code></pre></div>and output is:<br><div class="codebox"><p>Code: </p><pre><code>During Feb '06 we have used 3,535 MB</code></pre></div>if someone could edit my script so it converts the MB into GB it would be greatly appreicated<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6777">TaRgEt</a> — Wed Feb 01, 2006 10:31 pm</p><hr />
]]></content>
	</entry>
	</feed>
