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

	<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>2005-05-25T19:57:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-05-25T19:57:21-04:00</updated>

		<published>2005-05-25T19:57:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49826#p49826</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49826#p49826"/>
		<title type="html"><![CDATA[customized info script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49826#p49826"><![CDATA[
/me pets ac1id<br>down boy<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Wed May 25, 2005 7:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ac1d]]></name></author>
		<updated>2005-05-25T03:01:26-04:00</updated>

		<published>2005-05-25T03:01:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49791#p49791</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49791#p49791"/>
		<title type="html"><![CDATA[customized info script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49791#p49791"><![CDATA[
Oh my god, greenbear<br>it's working 100% as what i requested!!! (NO ERRORS!)<br>i did not expect that it can be done with only few lines!<br>that's the most short script that i've seen<br>but it works more than that!!<br>and it's so fast. fast searching and fast paste.<br>really great. THANK YOU SO MUCH greenbear<br>it was my first request that someone made for me<br>i didn't realized that how much i can be happy if someone make own script just for me.<br><br>ONCE AGAIN, THANK YOU<br>YOU ROCK! greenbear  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_exclaim.gif" width="15" height="15" alt=":!:" title="Exclamation"> <br><br>sorry for if there was bad english. i'm too excited  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"> <br><br>PS/ for other people who reading this thread.<br>you can use greenbear's script for such as address book, email index etc,<br>(friendname | email address or phone number etc,)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6180">ac1d</a> — Wed May 25, 2005 3:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-05-24T21:42:59-04:00</updated>

		<published>2005-05-24T21:42:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49787#p49787</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49787#p49787"/>
		<title type="html"><![CDATA[customized info script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49787#p49787"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set infodb "/path/to/dbfile/info.dat"set maxhits 5proc pub:info {nick uhost hand chan text} { set search [lrange [split $text] 0 e] set hits 0 set db [open $::infodb r]  while {![eof $db]} {   set line [gets $db]   set keyword [concat [lindex [split $line |] 0]]   if {[string match -noc *[join $search]* $keyword]&amp;&amp;$hits&lt;$::maxhits} {     set result [concat [lindex [split $line |] 1]]     putserv "PRIVMSG $chan :\[INFO\] $keyword =&gt; $result"     incr hits   } } close $db if {!$hits} {  putserv "PRIVMSG $chan :\[INFO\] I don't know anything about $search." }}bind pub - !db pub:info</code></pre></div>Untested<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Tue May 24, 2005 9:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ac1d]]></name></author>
		<updated>2005-05-24T04:15:53-04:00</updated>

		<published>2005-05-24T04:15:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49752#p49752</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49752#p49752"/>
		<title type="html"><![CDATA[customized info script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49752#p49752"><![CDATA[
hello.<br>i know there's lots of info scripts already.<br>but i couldn't find an info script that can work with my large db.<br>my db is terms and definition stored in a text file. and also terms are have spaces<br>terms and definitions are seperated by | and one term per line.<br>so my db file looks like below<br><br>example #1  |  definition here<br>exam ple #2  |  definition here<br>exa mpl e #3  |  definition here<br><br>as you see above, i need search function cause of my db size. and terms have spaces<br><br>ex)<br>'!db example' shows term 1<br>'!db exam' shows term 1 and 2<br>'!db exa mpl' shows term 3 (which means can query with space)<br><br>i don't need add/del/modify functions since i have db already.<br>i think if script have separation character option, it will be useful to the people that in similar situation with me.<br>if someone can make it for me and others. it would be really great. i need it badly <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>Looking for your help<br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6180">ac1d</a> — Tue May 24, 2005 4:15 am</p><hr />
]]></content>
	</entry>
	</feed>
