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

	<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>2003-05-15T02:43:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-15T02:43:21-04:00</updated>

		<published>2003-05-15T02:43:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20202#p20202</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20202#p20202"/>
		<title type="html"><![CDATA[Qoutes...kind of  !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20202#p20202"><![CDATA[
Replace from:<div class="codebox"><p>Code: </p><pre><code>if {[string match [lrange [split $text] 1 end] $line]} { </code></pre></div>to:<div class="codebox"><p>Code: </p><pre><code>if {[string match [lrange [split $text] 0 end] $line]} { </code></pre></div>and from:<div class="codebox"><p>Code: </p><pre><code>puts $file "[unixtime] [lrange [split $text] 1 end] $hand" putdcc $idx "New topic added: [lrange [split $text] 1 end]" </code></pre></div>to:<div class="codebox"><p>Code: </p><pre><code>puts $file "[unixtime] [lrange [split $text] 0 end] $hand" putdcc $idx "New topic added: [lrange [split $text] 0 end]" </code></pre></div>and should be working..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu May 15, 2003 2:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Pitchat]]></name></author>
		<updated>2003-05-14T12:49:51-04:00</updated>

		<published>2003-05-14T12:49:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20195#p20195</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20195#p20195"/>
		<title type="html"><![CDATA[Qoutes...kind of  !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20195#p20195"><![CDATA[
it seems to work but not the way i want <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>[12:45] (Pitchat): .potin test<br>[12:45] (Precieuse): Topic already exists.<br><br>it is not for a topic purpose it is more of a reminder thing so it doesnt add the infos in the txt file.<br><br><br>ideas ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2723">Pitchat</a> — Wed May 14, 2003 12:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-14T02:26:02-04:00</updated>

		<published>2003-05-14T02:26:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20182#p20182</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20182#p20182"/>
		<title type="html"><![CDATA[Qoutes...kind of  !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20182#p20182"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set bla(file) "bla.txt"bind dcc - bla dcc:blaproc dcc:bla {hand idx text} {if {![file exists $::bla(file)]} {putdcc $idx "Error: $::bla(file) dose not exist."return 0}set file [open "$::bla(file)" r]while {![eof $file]} {set line [gets $file]if {[string match [lrange [split $text] 1 end] $line]} {putdcc $idx "Topic already exists."return 0}}catch {close $file}set file [open "$::bla(file)" a]puts $file "[unixtime] [lrange [split $text] 1 end] $hand"putdcc $idx "New topic added: [lrange [split $text] 1 end]"catch {close $file}}</code></pre></div>I haven't tested it cos I don't have where (ATM) cos I'm @ school <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=187">caesar</a> — Wed May 14, 2003 2:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Pitchat]]></name></author>
		<updated>2003-05-14T02:16:10-04:00</updated>

		<published>2003-05-14T02:16:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20179#p20179</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20179#p20179"/>
		<title type="html"><![CDATA[Qoutes...kind of  !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20179#p20179"><![CDATA[
sure i have questions lol<br><br>i try almost all quotes scripts available and i must admit i am lost so if you can get me started in the right direction it will be appreciate<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2723">Pitchat</a> — Wed May 14, 2003 2:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-05-14T01:33:34-04:00</updated>

		<published>2003-05-14T01:33:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20176#p20176</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20176#p20176"/>
		<title type="html"><![CDATA[Qoutes...kind of  !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20176#p20176"><![CDATA[
Yes it is possible. Have a text file with each line in the format:<br><br>unixtime username text<br><br>The reason is that unixtime and username are guaranteed to be only one word, whereas text may be several words with any character. This way it's easier to parse the data.<br><br>Anyway, have your script read in each line and search for whatever the user typed, displaying any matches.<br><br>If you have any more specific questions as your script progresses, feel free to ask.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Wed May 14, 2003 1:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Pitchat]]></name></author>
		<updated>2003-05-13T17:42:49-04:00</updated>

		<published>2003-05-13T17:42:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20168#p20168</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20168#p20168"/>
		<title type="html"><![CDATA[Qoutes...kind of  !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20168#p20168"><![CDATA[
Hi <br>i wonder if it is possible to make a command available in dcc like .something (text) and have it store in a txt file in the format <br><br>date-text-bywhom<br><br>so it will lokk like that<br><br>in dcc : .something this is a test <br><br>in the text file <br><br>11-05-2003 : this is a test : set by user<br><br>thanks for ideas <br><br>Pitchat<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2723">Pitchat</a> — Tue May 13, 2003 5:42 pm</p><hr />
]]></content>
	</entry>
	</feed>
