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

	<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>2014-12-02T04:30:53-04:00</updated>

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

		<entry>
		<author><name><![CDATA[abah]]></name></author>
		<updated>2014-12-02T04:30:53-04:00</updated>

		<published>2014-12-02T04:30:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103346#p103346</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103346#p103346"/>
		<title type="html"><![CDATA[Qur'an And Hadeeth Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103346#p103346"><![CDATA[
link is broken please updated link <br>i needed tcl that  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12299">abah</a> — Tue Dec 02, 2014 4:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-09-11T13:46:29-04:00</updated>

		<published>2007-09-11T13:46:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75864#p75864</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75864#p75864"/>
		<title type="html"><![CDATA[Qur'an And Hadeeth Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75864#p75864"><![CDATA[
<blockquote class="uncited"><div>This script is a normal script saying out random lines at different intervals and reads a database from the text file @ "tmp/Quran.txt"<br><br>So basically Hesham, you have to build your own database (if you cannot find an archive online) and the rest you can use this script (rather obsolete and too over complicated though) display your ayat and hadeeth lines from quran on your channels.</div></blockquote>I have already uploaded the Database see the link please. Database means the whole Quran, which is not easy to write.<br><br><a href="http://love.musicpk.com/Quran.zip" class="postlink">http://love.musicpk.com/Quran.zip</a><br><br>It contains Qurant.txt and the TCL.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Tue Sep 11, 2007 1:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-09-11T04:15:15-04:00</updated>

		<published>2007-09-11T04:15:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75859#p75859</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75859#p75859"/>
		<title type="html"><![CDATA[Qur'an And Hadeeth Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75859#p75859"><![CDATA[
This script is a normal script saying out random lines at different intervals and reads a database from the text file @ "tmp/Quran.txt"<br><br>So basically Hesham, you have to build your own database (if you cannot find an archive online) and the rest you can use this script (rather obsolete and too over complicated though) display your ayat and hadeeth lines from quran on your channels.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Sep 11, 2007 4:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ZEXEL]]></name></author>
		<updated>2007-09-10T10:33:47-04:00</updated>

		<published>2007-09-10T10:33:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75843#p75843</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75843#p75843"/>
		<title type="html"><![CDATA[woow!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75843#p75843"><![CDATA[
@iamdeath thx bro, now i've found it!  <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=7909">ZEXEL</a> — Mon Sep 10, 2007 10:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-09-10T08:15:18-04:00</updated>

		<published>2007-09-09T16:25:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75826#p75826</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75826#p75826"/>
		<title type="html"><![CDATA[Qur'an And Hadeeth Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75826#p75826"><![CDATA[
This script was basically written by one of my friend and me on the request of #karachi channel @ Undernet. It's old I am not sure neither I gurantee will work or not, I don't have time to fix it either, if other legendary coders can take out their precious time for you to fix it then it's upto you. I searched for this TCL and the source and I uploaded it for you. <br><br><div class="codebox"><p>Code: </p><pre><code>#####################################################                      Quran                       ######################################################## Variablesset quran(interval) "2"set quran(intervall) "20"set quran(characters) "190"set quran(database.txt) "tmp/Quran.txt" ### Eventsbind pub - "!quran" quran:procbind pub - "!autoplay" autoplay:proc### Commandsproc quran:proc {nick uhost handle chan text} {  global quran  if {[lindex [split "$text" ":"] 0] != "" &amp;&amp; [lindex [split "$text" ":"] 1] != ""} {    if {[file exists "$quran(database.txt)"] == "1"} {      set quran(found) "NO"      set txt "[open "$quran(database.txt)" r]"      for {set x 0} {![eof $txt]} {incr x} {        gets $txt line        if {[lindex [split "$text" ":"] 0] == [lindex [split $line ":"] 1] &amp;&amp; [lindex [split "$text" ":"] 1] == [lindex [split $line ":"] 2]} {          set quran(found) "YES"          set line "[lindex [split $line "¤"] 0]"          if {[string length "$line"] &gt; "200"} { quran:divide $nick $chan $line } else { puthelp "PRIVMSG $chan :[lindex "$line" 0] [lrange "$line" 1 end]" }          break        }      }      if {$quran(found) == "NO"} { puthelp "PRIVMSG $chan :INVALID ENTRY: Retry!" }      close $txt    } else { putlog "ERROR: File \"$quran(database.txt)\" not found!" }  } else { puthelp "PRIVMSG $chan :Use: !quran &lt;Surah&gt;:&lt;Ayat&gt;" }}proc quran:divide {nick chan text} {  global quran  set word "1"  set sentence "1"  while {$sentence &lt;= [expr [string length "$text"] / $quran(characters)]} {    set line "[lindex "$text" $word]"    while {$word &lt; "2000"} {      incr word      set line "$line [lindex "$text" $word]"      if {[string length "$line"] &gt; "$quran(characters)"} { utimer [expr $sentence * $quran(interval)] "puthelp {PRIVMSG $chan :[lindex "$text" 0] $line}" ; break }    }    incr word    incr sentence  }  if {[lrange "$text" $word end] != ""} { utimer [expr $sentence * $quran(interval)] "puthelp {PRIVMSG $chan :[lindex "$text" 0] [lrange "$text" $word end]}" }}proc autoplay:proc {nick uhost handle chan text} {  global quran  if {[isop $nick $chan] || [isvoice $nick $chan]} {    if {$text != ""} {      if {$text == "stop"} {        foreach utimer [utimers] { if {[string match "*quran:proc *" $utimer]} { killutimer [lindex $utimer end] } }        puthelp "PRIVMSG $chan :All TIMERS stopped!"      } else {        foreach utimer [utimers] { if {[string match "*quran:proc *" $utimer]} { puthelp "PRIVMSG $chan :Busy: Retry later!" ; return 0 } }        if {[file exists "$quran(database.txt)"] == "1"} {          set t "0"          set quran(found) "NO"          set txt "[open "$quran(database.txt)" r]"          for {set x 0} {![eof $txt]} {incr x} {            gets $txt line            if {$text == [lindex [split $line ":"] 1]} {              set quran(found) "YES"              utimer [expr $t * $quran(intervall)] "quran:proc $nick $uhost $handle $chan [lindex [split $line ":"] 1]:[lindex [split $line ":"] 2]"              incr t            }          }          if {$quran(found) == "NO"} { puthelp "PRIVMSG $chan :INVALID ENTRY: Retry!" }          close $txt        } else { putlog "ERROR: File \"$quran(database.txt)\" not found!" }      }    } else { puthelp "PRIVMSG $chan :Use: !autoplay &lt;Surah&gt;" }  }}putlog "TCL Quran.tcl Loaded!"</code></pre></div>And here is the link of Quran Source.<br><br><a href="http://love.musicpk.com/Quran.zip" class="postlink">Complete Holy QURAN &amp; Quran.tcl</a><br><br>Thanks<br>iamdeath<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Sun Sep 09, 2007 4:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-09-09T13:56:09-04:00</updated>

		<published>2007-09-09T13:56:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75820#p75820</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75820#p75820"/>
		<title type="html"><![CDATA[Qur'an And Hadeeth Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75820#p75820"><![CDATA[
The script is the easy part.. Finding a suitable data source is the real trick.  There's an existing bible script in the archive, that uses data from ebible.org's downloadable text file version.  Find a data source, whether a text file or a website, and we can easily make a script for it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Sep 09, 2007 1:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-09-09T06:05:57-04:00</updated>

		<published>2007-09-09T06:05:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75804#p75804</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75804#p75804"/>
		<title type="html"><![CDATA[Qur'an And Hadeeth Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75804#p75804"><![CDATA[
I once wrote a script for Quran, I will go through my older hard disk and let you know if I still have it. You may need to wait a few days.<br><br>Thanks<br>iamdeath<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Sun Sep 09, 2007 6:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-09-08T18:08:01-04:00</updated>

		<published>2007-09-08T18:08:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75794#p75794</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75794#p75794"/>
		<title type="html"><![CDATA[Qur'an And Hadeeth Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75794#p75794"><![CDATA[
It's your job to find a source. If you're talking about a web page, then you'll need to find a site and ask for someone to write a script to parse it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Sep 08, 2007 6:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Hesham]]></name></author>
		<updated>2007-09-08T03:58:38-04:00</updated>

		<published>2007-09-08T03:58:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75788#p75788</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75788#p75788"/>
		<title type="html"><![CDATA[Qur'an And Hadeeth Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75788#p75788"><![CDATA[
good idea i was thinking about that.. but still need a source { perfect source } of ayat &amp; hadeeth .. do you know any source that can be readable by script?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9108">Hesham</a> — Sat Sep 08, 2007 3:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-09-08T03:55:10-04:00</updated>

		<published>2007-09-08T03:55:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75787#p75787</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75787#p75787"/>
		<title type="html"><![CDATA[Qur'an And Hadeeth Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75787#p75787"><![CDATA[
Search the <a href="http://www.egghelp.org/tcl.htm" class="postlink">Tcl Archive</a> for a random quotes/messages script and replace the messages with the Ayat or Hadeeth.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Sep 08, 2007 3:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Hesham]]></name></author>
		<updated>2007-09-08T03:46:23-04:00</updated>

		<published>2007-09-08T03:46:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75785#p75785</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75785#p75785"/>
		<title type="html"><![CDATA[Qur'an And Hadeeth Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75785#p75785"><![CDATA[
Hello..<br>need a script for eggdrop that sends random ayat of Quran or Hadeeth to the channel<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9108">Hesham</a> — Sat Sep 08, 2007 3:46 am</p><hr />
]]></content>
	</entry>
	</feed>
