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

	<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-07-19T09:13:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2004-07-19T09:13:40-04:00</updated>

		<published>2004-07-19T09:13:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38809#p38809</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38809#p38809"/>
		<title type="html"><![CDATA[Tcl-Problem with my script - I need your help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38809#p38809"><![CDATA[
<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=2617">arcane</a> — Mon Jul 19, 2004 9:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-07-18T17:57:27-04:00</updated>

		<published>2004-07-18T17:57:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38776#p38776</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38776#p38776"/>
		<title type="html"><![CDATA[Tcl-Problem with my script - I need your help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38776#p38776"><![CDATA[
Thanks arcane, I misread "gelöst" for poor English ie. "gelost" = "get lost". LOL<br><br>I really should wake up before I browse forums.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun Jul 18, 2004 5:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-07-18T10:23:22-04:00</updated>

		<published>2004-07-18T10:23:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38754#p38754</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38754#p38754"/>
		<title type="html"><![CDATA[Tcl-Problem with my script - I need your help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38754#p38754"><![CDATA[
maybe create the index right also <br><br>instead of adding all that _ crap for spaces .. when u write an arg add {} arround it so when you read it out tcl will think of it as one arg example<br><br>{id} {something else} {whatever}<br><br>then split on \n do foreach {a b c}  [split [read $fs] \n] ...<br><br>* instead of useing lindex<br><br>then id will be a something else will be b and whatever will be c<br>see simple .. just add {} when you write to the db<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Jul 18, 2004 10:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2004-07-18T06:11:44-04:00</updated>

		<published>2004-07-18T06:11:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38752#p38752</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38752#p38752"/>
		<title type="html"><![CDATA[Tcl-Problem with my script - I need your help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38752#p38752"><![CDATA[
No. He was looking for "solved" <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br>Seems he doesn't need help any more.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2617">arcane</a> — Sun Jul 18, 2004 6:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-07-17T17:38:30-04:00</updated>

		<published>2004-07-17T17:38:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38734#p38734</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38734#p38734"/>
		<title type="html"><![CDATA[Tcl-Problem with my script - I need your help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38734#p38734"><![CDATA[
Geduld Tcl-N00b, you cannot expect an immediate answer.<br><br>The word you're looking for is "get lost". <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=3646">Alchera</a> — Sat Jul 17, 2004 5:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-07-17T08:47:25-04:00</updated>

		<published>2004-07-17T08:47:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38708#p38708</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38708#p38708"/>
		<title type="html"><![CDATA[Tcl-Problem with my script - I need your help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38708#p38708"><![CDATA[
Hmm thx... :/ ... But now the Problem is .... [dont know the english word for "gelöst".... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile"><p>Statistics: Posted by Guest — Sat Jul 17, 2004 8:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-07-16T18:07:35-04:00</updated>

		<published>2004-07-16T18:07:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38698#p38698</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38698#p38698"/>
		<title type="html"><![CDATA[Tcl-Problem with my script - I need your help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38698#p38698"><![CDATA[
Hello, <br>i have a problem with my tcl-skript...<blockquote class="uncited"><div>[21:49:07] &lt;@arena7|Blacky&gt; !addnotice test_test<br>In the Database is standing: test_test_(arena7|Blacky)-(Fri Jul 16 21:43:37 CEST 2004)<br>But, if i type !all (@ skript) he gives me all in a wrong way... als spaces are new lines.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br>[21:52:27] &lt;@eSport4ever&gt; test = test (arena7|Blacky)-(Fri<br>[21:52:28] &lt;@eSport4ever&gt; Jul = <br>[21:52:29] &lt;@eSport4ever&gt; 16 = <br>[21:52:31] &lt;@eSport4ever&gt; 21:43:37 = <br>[21:52:33] &lt;@eSport4ever&gt; CEST = <br>[21:52:35] &lt;@eSport4ever&gt; 2004) =</div></blockquote><div class="codebox"><p>Code: </p><pre><code>proc notice:showall { nick u handle channel t } {  global notice  if { [lsearch -exact [split [string tolower $notice(channels)]] [string tolower $channel]] &lt; 0 } {    return 0  }  if {![matchattr $handle [string trim $notice(glob_flag)]|[string trim $notice(chan_flag)] $channel]} {    putnotc $nick "You can't see all notices from my database."    return 0  }  set fs [open "noticedatabase" r]  set data [read $fs]  if { [string trim [string trim $data \n]] == "" } {    putserv "privmsg $channel : There is no notice"  } else {    foreach line [split $data \n] {      foreach eintrag $line {        set a [lindex [split $eintrag _] 0]        set b [lindex [split $eintrag _] 1]        set c [lindex [split $eintrag _] 2]        set d "$a = $b $c"        putserv "privmsg $channel : $d"      }    }  }  close $fs}</code></pre></div>Please remember: I am german (english is not well) and i am a tcl noob... it were nice, if you paste me the right script here <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>If you need more from the script please say it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile"><br><br>I need you help<p>Statistics: Posted by Guest — Fri Jul 16, 2004 6:07 pm</p><hr />
]]></content>
	</entry>
	</feed>
