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

	<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-06-30T16:18:56-04:00</updated>

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

		<entry>
		<author><name><![CDATA[canercan]]></name></author>
		<updated>2005-06-30T16:18:56-04:00</updated>

		<published>2005-06-30T16:18:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51582#p51582</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51582#p51582"/>
		<title type="html"><![CDATA[need to convert mrc to tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51582#p51582"><![CDATA[
Thank you very much it does work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6419">canercan</a> — Thu Jun 30, 2005 4:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-06-29T11:57:31-04:00</updated>

		<published>2005-06-29T11:57:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51520#p51520</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51520#p51520"/>
		<title type="html"><![CDATA[need to convert mrc to tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51520#p51520"><![CDATA[
nope, you can't intercept server notices with [bind notc]<br><br>you need a raw bind:<div class="codebox"><p>Code: </p><pre><code>bind raw - NOTICE fooproc foo {from keyword text} {   scan $::server {%[^:]} server   if {$from == $server} {      set who [lindex [split $text] 9] ;# or whatever parameter number it is      scan $who {%[^!]!%[^@]@%s} nick user host      if {[string match -nocase "*clone alert*" $text]} {         putserv "kline 300 *@$host :clones" ;# 300min temp kline      } elseif {[string match -nocase "*client connecting*" $text]} {         putserv "fjoin $nick #channel"      }   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Jun 29, 2005 11:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[canercan]]></name></author>
		<updated>2005-06-29T11:10:16-04:00</updated>

		<published>2005-06-29T11:10:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51518#p51518</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51518#p51518"/>
		<title type="html"><![CDATA[need to convert mrc to tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51518#p51518"><![CDATA[
I want to fjoin people on connect so I need help. The code I wrote at the beginning is its .mrc but tcl?<br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6419">canercan</a> — Wed Jun 29, 2005 11:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-06-29T10:35:09-04:00</updated>

		<published>2005-06-29T10:35:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51517#p51517</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51517#p51517"/>
		<title type="html"><![CDATA[need to convert mrc to tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51517#p51517"><![CDATA[
I wouldn't use double colons in proc names unless I really wanted to use <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/namespace.htm" class="postlink">namespaces</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed Jun 29, 2005 10:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2005-06-29T09:47:14-04:00</updated>

		<published>2005-06-29T09:47:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51516#p51516</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51516#p51516"/>
		<title type="html"><![CDATA[need to convert mrc to tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51516#p51516"><![CDATA[
Well, you could try searching the TCL Archive or learning TCL. If you looked at a TCL Guide, the first thing you would notice is the binds and the proc. <br><div class="codebox"><p>Code: </p><pre><code>bind notc - * ::ircd::notice </code></pre></div> <br>That bind looks fine to me, now you need to make a proc for this.<br><div class="codebox"><p>Code: </p><pre><code>proc ::ircd::notice {nick host hand} {if {($nick == $server)} {blah}I think that will workI dont understand what you want the other code to do, what is it looking for in $1-</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Wed Jun 29, 2005 9:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[canercan]]></name></author>
		<updated>2005-06-29T08:13:35-04:00</updated>

		<published>2005-06-29T08:13:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51514#p51514</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51514#p51514"/>
		<title type="html"><![CDATA[need to convert mrc to tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51514#p51514"><![CDATA[
on *:snotice:*:{<br> if $nick == $server {<br>   if *clone alert* iswm $1- {<br>     kline $+ (*@,$9) Clone Yapmayınız. 15<br>   }<br>   if *client connecting* iswm $1- {<br>     fjoin $9 #chan<br>   }<br> }<br>}<br><br>I am a novice I did it as below<br><br>bind notc       - *                             ::ircd::notice<br><br>if $notc {<br> if $nick == $server {<br>}<br><br><br>if *client connecting* iswm $1- {<br>     fjoin $9 #Sohbet<br>   }<br><br>but it did not work can you do me a favour about converting it? <br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6419">canercan</a> — Wed Jun 29, 2005 8:13 am</p><hr />
]]></content>
	</entry>
	</feed>
