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

	<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-08-03T06:20:31-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-08-03T06:20:31-04:00</updated>

		<published>2004-08-03T06:20:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39417#p39417</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39417#p39417"/>
		<title type="html"><![CDATA[question/problem tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39417#p39417"><![CDATA[
As you're on a learning curve, you may want to peruse through the <a href="http://tcl.tk/man/tcl8.5/" class="postlink">Tcl/Tk 8.5 Manual</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Aug 03, 2004 6:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[netux]]></name></author>
		<updated>2004-08-03T06:13:24-04:00</updated>

		<published>2004-08-03T06:13:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39416#p39416</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39416#p39416"/>
		<title type="html"><![CDATA[question/problem tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39416#p39416"><![CDATA[
tks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5272">netux</a> — Tue Aug 03, 2004 6:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-02T21:34:05-04:00</updated>

		<published>2004-08-02T21:34:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39396#p39396</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39396#p39396"/>
		<title type="html"><![CDATA[question/problem tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39396#p39396"><![CDATA[
Look up the commands:<br><br>[1] string map<br>[2] lreplace<br><br>In the tcl manual and you can get information regarding this.<br>I am not sure about string replace for this though.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><br><br>Take a look at this:<br><a href="http://forum.egghelp.org/viewtopic.php?t=7891" class="postlink">http://forum.egghelp.org/viewtopic.php?t=7891</a><br><br>Search for 'lreplace', 'string map' and 'string replace' in this forum<br>you can find many results regarding this.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Aug 02, 2004 9:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[netux]]></name></author>
		<updated>2004-08-02T19:30:43-04:00</updated>

		<published>2004-08-02T19:30:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39382#p39382</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39382#p39382"/>
		<title type="html"><![CDATA[question/problem tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39382#p39382"><![CDATA[
awyeah i dont want the greet script, im just trying to lear how to deal with files.<br>i got stuck in the replace tryed lreplace and string replace but cant figure how they work even after reading the syntax :/ dam english.<br>maybe you can help me.<br>make simple because im still learning <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br>what im trying is:<br><br>if {[file exists lbsettings.db]} {<br>  putlog "checking settings"<br>  set lbfr [open lbsettings.db r+]<br>  while {![eof $lbfr]} {<br>    gets $lbfr line<br>    if {[lindex $line 0] == "language"} {<br>      if {[lindex $line 1] != "en"} {<br>      set lang "en"<br>      set line [lreplace $line [lindex $line 1] $lang]<br>      puts $lbfr $line<br>      close $lbfr<br>      putlog "language restored to default"<br>      }<br>    }<br>  }<br>}<br><br>databse is in this format:<br>language en<br>im trying to check it and if isnt en change it back to en<br>i pretend to add other lines to database latter so dont use delete and create another.<br>i want is to change the "en" if it isnt "en"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5272">netux</a> — Mon Aug 02, 2004 7:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-01T23:06:20-04:00</updated>

		<published>2004-08-01T23:06:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39343#p39343</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39343#p39343"/>
		<title type="html"><![CDATA[question/problem tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39343#p39343"><![CDATA[
<strong class="text-strong">Alternatively:</strong><br><br>You can set +greet on channel and add users in the bots<br>USER file and set an info line for each user seperately.<br><br>This is time consuming, but it is better than TCL. However<br>you would have to add every user in the USER file whom you<br>want to greet. <br><br>See help regarding this in partyline with the bot. <br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Aug 01, 2004 11:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[netux]]></name></author>
		<updated>2004-07-31T17:30:20-04:00</updated>

		<published>2004-07-31T17:30:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39290#p39290</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39290#p39290"/>
		<title type="html"><![CDATA[question/problem tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39290#p39290"><![CDATA[
<blockquote class="uncited"><div>I suggest you contact the author (_SunMar_) marijn at suninet dot nl <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>already done that, and search forum(s) and google..... last chance was posting here.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5272">netux</a> — Sat Jul 31, 2004 5:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-07-30T21:15:24-04:00</updated>

		<published>2004-07-30T21:15:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39281#p39281</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39281#p39281"/>
		<title type="html"><![CDATA[question/problem tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39281#p39281"><![CDATA[
I suggest you contact the author (_SunMar_) marijn at suninet dot nl <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=3646">Alchera</a> — Fri Jul 30, 2004 9:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[netux]]></name></author>
		<updated>2004-07-31T08:04:31-04:00</updated>

		<published>2004-07-30T20:55:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39278#p39278</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39278#p39278"/>
		<title type="html"><![CDATA[question/problem tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39278#p39278"><![CDATA[
hi, any1 ever try to run the exercice script from suninet tcl guide 11.7 example found at: <a href="http://www.suninet.nl/tclguide/example-ch11.tcl" class="postlink">http://www.suninet.nl/tclguide/example-ch11.tcl</a> ?<br>i'm trying to learn tcl for eggdrop so i started from the tutorials in links of egghelp, but i think that is something wrong on this code because it should add the !greeting's for every user but it seems that it only suports 1 user. i paste and copy it and what hapent is:<br><br>1 user nick bla uses !greeting lalalala<br>no problem in till here<br><br>2 user nick ble uses !gretting lelelele<br>and it will be save over the 1st greeting<br><br>can some1 pls correct that code as it is a guide tutorial i think its important.<br>and is there a command to replace words or lines in files?<br>tks in advanced.<br>try using the same structure of the example so i can understand faster.<br>PS: any more tutorials guides similar to susinet guide? eggdrop oriented? <br>TKS<br>edit: after reading 2 first posts <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=5272">netux</a> — Fri Jul 30, 2004 8:55 pm</p><hr />
]]></content>
	</entry>
	</feed>
