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

	<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-09-26T09:43:59-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-09-26T09:43:59-04:00</updated>

		<published>2003-09-26T09:43:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27603#p27603</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27603#p27603"/>
		<title type="html"><![CDATA[ctcp bind]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27603#p27603"><![CDATA[
I wanted to say the same about the srd <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=3085">Sir_Fz</a> — Fri Sep 26, 2003 9:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-09-26T09:22:51-04:00</updated>

		<published>2003-09-26T09:22:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27602#p27602</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27602#p27602"/>
		<title type="html"><![CDATA[ctcp bind]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27602#p27602"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>set srd ""; regexp -all -- " " $arg "*" src</code></pre></div></div></blockquote>Don't you mean "set src" and "regsub"? <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=2878">user</a> — Fri Sep 26, 2003 9:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-09-26T07:37:58-04:00</updated>

		<published>2003-09-26T07:37:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27596#p27596</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27596#p27596"/>
		<title type="html"><![CDATA[ctcp bind]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27596#p27596"><![CDATA[
Change <br><div class="codebox"><p>Code: </p><pre><code>puts $fp $in</code></pre></div>to<div class="codebox"><p>Code: </p><pre><code>puts $fp [join $in \n]</code></pre></div>The screwed up DB may be the cause of it saying it still found one.<br><br>I can't see anything wrong with the script that would make it say otherwise.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Sep 26, 2003 7:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[inferno]]></name></author>
		<updated>2003-09-25T13:26:20-04:00</updated>

		<published>2003-09-25T13:26:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27570#p27570</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27570#p27570"/>
		<title type="html"><![CDATA[ctcp bind]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27570#p27570"><![CDATA[
ok script works now but when /ctcp botnick !dead site.com<br>the site is removed but problem is the website list get messed up<br>note that i have put each website on a line<br>so when i use the ctcp botnick !dead all website become messed up<br>( i mean not each one on a line) and this cause damage to other scripts i run.<br>and one more thing when i /ctcp botnick !dead invalid website<br>for exemple : /ctcp botnick !dead sdfkjsdflkj<br>it says sdfkjsdflkj was deleted successfully instead of saying website not found . . . <br>10x for ur time but hope these bugs could be fixed<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3287">inferno</a> — Thu Sep 25, 2003 1:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-09-25T11:23:52-04:00</updated>

		<published>2003-09-25T11:23:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27566#p27566</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27566#p27566"/>
		<title type="html"><![CDATA[ctcp bind]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27566#p27566"><![CDATA[
Locate the line regexp -all -- " " $arg "*" src<br><br>Change it to<div class="codebox"><p>Code: </p><pre><code>set srd ""; regexp -all -- " " $arg "*" src</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu Sep 25, 2003 11:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[inferno]]></name></author>
		<updated>2003-09-25T09:30:47-04:00</updated>

		<published>2003-09-25T09:30:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27558#p27558</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27558#p27558"/>
		<title type="html"><![CDATA[error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27558#p27558"><![CDATA[
ok i loaded ur script<br>eggdrop runs normally but give me this error in the party line when i try /ctcp botnick !dead <a href="http://www.site.com" class="postlink">http://www.site.com</a><br>(Insuline) [16:25] Tcl error [clear:dead]: can't read "src": no such variable<br>(Insuline) [16:25] Tcl error [clear:dead]: can't read "src": no such variable<br><br>Note that i have put the txt file which contains the websites in the eggdrop main directory i guess the problem is that it coudnt find zlist14.txt<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3287">inferno</a> — Thu Sep 25, 2003 9:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-09-25T06:58:43-04:00</updated>

		<published>2003-09-25T06:58:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27549#p27549</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27549#p27549"/>
		<title type="html"><![CDATA[ctcp bind]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27549#p27549"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind ctcp - "!dead" clear:deadproc clear:dead {nick uh hand dest key arg} {  regexp -all -- " " $arg "*" src  set src "*${src}*"  set in [split [read [set fp [open zlist14.txt r]]] \n]  close $fp  if {[set idx [lsearch $in $src]] &gt;= 0} {    set in [lreplace $in $idx $idx]    set fp [open zlist14.txt w]    puts $fp $in    close $fp    puthelp "PRIVMSG $nick :\00307Deleted \002 $arg \002 \00312Thx For Helping To Keep The List \002Clean"  } else {    oputhelp "PRIVMSG $nick :\00307Did \002Not\002 Find Anything For \00312\002 $arg"  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu Sep 25, 2003 6:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[inferno]]></name></author>
		<updated>2003-09-25T06:44:58-04:00</updated>

		<published>2003-09-25T06:44:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27547#p27547</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27547#p27547"/>
		<title type="html"><![CDATA[ctcp bind]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27547#p27547"><![CDATA[
hey there can any1 translate this mirc script into tcl ? i'll explain later what does this script means<br><br>ctcp *:!dead*:?: { <br>  if ($read(zlist14.txt, wn, * $+ $replace($2-, $chr(32), *) $+ *)) {<br>    write -dl [ $+ [ $readn ] ] zlist14.txt<br>    msg $nick 7Deleted  $2  12Thx For Helping To Keep The List Clean<br>  }<br>  else msg $nick 7Did Not Find Anything For 12 $2 <br>}<br><br>Actually i am using a database script for my eggdrop which contains a list of websites . . . and what i want is when a user do a /ctcp botnick !dead url<br>for exemple: /ctcp botnick !dead <a href="http://www.google.com" class="postlink">http://www.google.com</a><br>the bot removes this url from the list . . .<br>i hope my post is clear and understood if not plz tell me i might clear more<br>note i have written the script code in the top if u can translate to tcl would be gr8 10x<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3287">inferno</a> — Thu Sep 25, 2003 6:44 am</p><hr />
]]></content>
	</entry>
	</feed>
