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

	<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>2004-02-26T09:04:34-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-02-26T09:04:34-04:00</updated>

		<published>2004-02-26T09:04:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34009#p34009</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34009#p34009"/>
		<title type="html"><![CDATA[Ftp Online]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34009#p34009"><![CDATA[
ic ic hmm<br><br>so in a way i could do <br><div class="codebox"><p>Code: </p><pre><code>if {  ... condition ... } then {  ... body ...} else {  ... body ...}</code></pre></div>hmm ive used some php before and they had something simular .. <br><br>if {} <br> then string .. <br><br>does this apply on tcl as well ?? if there is no {} then only the first string after the condition is included to the if condition ..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Thu Feb 26, 2004 9:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-02-26T08:39:12-04:00</updated>

		<published>2004-02-26T08:39:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34005#p34005</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34005#p34005"/>
		<title type="html"><![CDATA[Ftp Online]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34005#p34005"><![CDATA[
<blockquote class="uncited"><div>i have never seen this is it the same as else ..<div class="codebox"><p>Code: </p><pre><code>if {... condition ...}{  ... body ...}{  ... body ...}</code></pre></div></div></blockquote>Probably because "}{" would make the parser return an error <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> it's "} {"<br>If you'd read the whole manual page for 'if' you'd see.<blockquote class="uncited"><div>The <strong class="text-strong">then</strong> and <strong class="text-strong">else</strong> arguments are optional ``noise words'' to make the command easier to read.</div></blockquote>If you like being verbose i recommend using "then" too! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Feb 26, 2004 8:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-02-26T08:26:25-04:00</updated>

		<published>2004-02-26T08:26:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34001#p34001</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34001#p34001"/>
		<title type="html"><![CDATA[Ftp Online]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34001#p34001"><![CDATA[
no still no clue i do understand the concept of if<br><div class="codebox"><p>Code: </p><pre><code>if {... condition ...} {  ... body ...} elseif {... condition ...} {  ... body ...} else {  ... body ...}</code></pre></div>that is what i understand from the manual<br><br>but i have never seen this is it the same as else ..<br><div class="codebox"><p>Code: </p><pre><code>if {... condition ...}{  ... body ...}{  ... body ...}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Thu Feb 26, 2004 8:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-02-25T15:57:33-04:00</updated>

		<published>2004-02-25T15:57:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33986#p33986</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33986#p33986"/>
		<title type="html"><![CDATA[Ftp Online]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33986#p33986"><![CDATA[
<blockquote class="uncited"><div>Just curious not saying its wrong but doesn't there need to be else or something in between could be wrong never seen it used like this tho ..</div></blockquote><a href="http://tcl.tk/man/tcl8.4/TclCmd/if.htm" class="postlink">http://tcl.tk/man/tcl8.4/TclCmd/if.htm</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Feb 25, 2004 3:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-02-25T14:48:34-04:00</updated>

		<published>2004-02-25T14:48:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33983#p33983</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33983#p33983"/>
		<title type="html"><![CDATA[Ftp Online]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33983#p33983"><![CDATA[
<blockquote class="uncited"><div>      if {$ftp&lt;0} { <br>         lappend out "$name is down" <br>      } { <br>         lappend out "$name is up" <br>      }</div></blockquote>Just curious not saying its wrong but doesn't there need to be else or something in between could be wrong never seen it used like this tho ..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Wed Feb 25, 2004 2:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2004-02-24T00:38:12-04:00</updated>

		<published>2004-02-24T00:38:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33928#p33928</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33928#p33928"/>
		<title type="html"><![CDATA[Ftp Online]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33928#p33928"><![CDATA[
Hint 1: Go to tcllib.sf.net to download and install tcllib.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Feb 24, 2004 12:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CyberGhosT]]></name></author>
		<updated>2004-02-23T19:36:27-04:00</updated>

		<published>2004-02-23T19:36:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33922#p33922</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33922#p33922"/>
		<title type="html"><![CDATA[FTP Online]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33922#p33922"><![CDATA[
i cant seam to find out how to use package require ftp <br>can some one give me some hints  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4169">CyberGhosT</a> — Mon Feb 23, 2004 7:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-02-23T14:11:02-04:00</updated>

		<published>2004-02-23T14:11:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33913#p33913</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33913#p33913"/>
		<title type="html"><![CDATA[Re: FTP Online]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33913#p33913"><![CDATA[
<blockquote class="uncited"><div>cant some1 make a tcl script like this 1 without the package require ftp ?</div></blockquote>Sure...replace "package require ftp" with "source /path/to/ftp.tcl"  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Feb 23, 2004 2:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CyberGhosT]]></name></author>
		<updated>2004-02-23T13:10:25-04:00</updated>

		<published>2004-02-23T13:10:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33911#p33911</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33911#p33911"/>
		<title type="html"><![CDATA[FTP Online]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33911#p33911"><![CDATA[
cant some1 make a tcl script like this 1 without the package require ftp ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4169">CyberGhosT</a> — Mon Feb 23, 2004 1:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2004-02-23T10:24:11-04:00</updated>

		<published>2004-02-23T10:24:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33900#p33900</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33900#p33900"/>
		<title type="html"><![CDATA[Ftp Online]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33900#p33900"><![CDATA[
That means it requires the ftp package. As far as I know, it's part of the tcllib collection (tcllib.sf.net for more info).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Feb 23, 2004 10:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CyberGhosT]]></name></author>
		<updated>2004-02-23T10:08:02-04:00</updated>

		<published>2004-02-23T10:08:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33897#p33897</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33897#p33897"/>
		<title type="html"><![CDATA[FTP Online]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33897#p33897"><![CDATA[
Can some 1 tell me what this mean <strong class="text-strong">package require ftp</strong><br>and wher i can get it.<br><br>Cant seam to make this script to work..<br><div class="codebox"><p>Code: </p><pre><code>package require ftp bind pub - .ftp ftps proc ftps {nick uhost hand chan arg} {    set out {}    # just add your ftps to this list (make sure you don't    # leave any fields blank or mess up the order :P)    set list {       {"FTP 1" ftp.addr1.cum 444 login pass}       {"FTP 2" ftp.addr2.cum 21 login pass}       {"FTP 3" ftp.addr3.cum 3131 login pass}       {"FTP 4" ftp.addr4.cum 9999 login pass}    }    foreach ftp $list {       foreach {name addr port user pass} $ftp break       set ftp [ftp::Open $addr $user $pass -port $port]       if {$ftp&lt;0} {          lappend out "$name is down"       } {          lappend out "$name is up"       }       ftp::Close $ftp    }    putserv "TOPIC $chan :[join $out " | "]" }</code></pre></div><br>it would be nice if some1 can help me whit this thx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4169">CyberGhosT</a> — Mon Feb 23, 2004 10:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-12-01T18:33:41-04:00</updated>

		<published>2003-12-01T18:33:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30950#p30950</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30950#p30950"/>
		<title type="html"><![CDATA[Ftp Online]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30950#p30950"><![CDATA[
sorry read wrong :p take back my words :p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Mon Dec 01, 2003 6:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[3zzy]]></name></author>
		<updated>2003-11-27T13:08:28-04:00</updated>

		<published>2003-11-27T13:08:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30776#p30776</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30776#p30776"/>
		<title type="html"><![CDATA[Ftp Online]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30776#p30776"><![CDATA[
What about a script that would check if any ftp is online using !ftp [address] [port] ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3845">3zzy</a> — Thu Nov 27, 2003 1:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CyberGhosT]]></name></author>
		<updated>2003-11-23T07:30:28-04:00</updated>

		<published>2003-11-23T07:30:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30558#p30558</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30558#p30558"/>
		<title type="html"><![CDATA[Ftp Online]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30558#p30558"><![CDATA[
some1 who whant to help me???<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4169">CyberGhosT</a> — Sun Nov 23, 2003 7:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CyberGhosT]]></name></author>
		<updated>2003-11-21T21:32:23-04:00</updated>

		<published>2003-11-21T21:32:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30497#p30497</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30497#p30497"/>
		<title type="html"><![CDATA[Ftp Online]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30497#p30497"><![CDATA[
Must i add somthing in the ftp prog to make it work ?<br><br>sorry ppl im new at this scripting....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4169">CyberGhosT</a> — Fri Nov 21, 2003 9:32 pm</p><hr />
]]></content>
	</entry>
	</feed>
