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

	<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>2008-01-02T12:11:19-04:00</updated>

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

		<entry>
		<author><name><![CDATA[tsukeh]]></name></author>
		<updated>2008-01-02T12:11:19-04:00</updated>

		<published>2008-01-02T12:11:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79745#p79745</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79745#p79745"/>
		<title type="html"><![CDATA[Basic on text/join scripts and abit more advanced request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79745#p79745"><![CDATA[
raider2k, your code contains ~5 errors and/or misunderstanding..<br><br>These should work:<div class="codebox"><p>Code: </p><pre><code>bind join - "#Channel1 *" foo:joinproc foo:join {nick uhost hand chan} { if [isop $nick #Channel2] { pushmode $chan +o $nick }}</code></pre></div><div class="codebox"><p>Code: </p><pre><code>bind pubm - "#Channel1 *" foo:pubmproc foo:pubm {nick uhost hand chan text} { if [string match -nocase "*text1*" $text] { putserv "PRIVMSG $chan :[join [lrange [split $text] 1 end]]: Text2!" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5911">tsukeh</a> — Wed Jan 02, 2008 12:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[raider2k]]></name></author>
		<updated>2008-01-02T10:48:30-04:00</updated>

		<published>2008-01-02T10:48:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79743#p79743</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79743#p79743"/>
		<title type="html"><![CDATA[Basic on text/join scripts and abit more advanced request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79743#p79743"><![CDATA[
<blockquote class="uncited"><div>1.<div class="codebox"><p>Code: </p><pre><code>on *:JOIN:#Channel1: { if ($nick isop #Channel2) { mode # +o $nick } }[/code[/quote]the first one should go like this:[code]bind join - * onjoinproc { nick uhost handle chan } {      if { [$nick isop "#channel"] } {                pushmode $chan +o $nick      }}</code></pre></div>for<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>on *:TEXT:*:#Channel1: { if (text1 isin $1-) { msg # $2- $+ : Text2! } }</code></pre></div></div></blockquote>I would say we go for this one:<br><div class="codebox"><p>Code: </p><pre><code>bind pubm - * autocatchprocproc autocatchproc { nick uhost handle chan text } {    if { [string equal -nocase $text "*text1*"] &amp;&amp; [string equal $chan "#chan1"] } {        putserv "PRIVMSG #CHAN2 :$nick: text2     }}</code></pre></div>These scripts might not be working in the first place ... I said might ^^<br>Im not sure though about the "isop" thingie. Usually they are self-explaining but well .. ask if you still have question toXiP.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9589">raider2k</a> — Wed Jan 02, 2008 10:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[toXiP]]></name></author>
		<updated>2008-01-02T07:44:20-04:00</updated>

		<published>2008-01-02T07:44:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79739#p79739</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79739#p79739"/>
		<title type="html"><![CDATA[Basic on text/join scripts and abit more advanced request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79739#p79739"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>I thought you could help me with so simple mirc-to-tcl.</div></blockquote>If you explain what the mIRC "code" does, we might be a little more helpful  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"></div></blockquote>Oh okay.<br><br>first: if the user that joins #channel1 has op on #channel2, I wan't to give the user op at #channel1.<br><br>Second: if someone says text1 on #channel1, I wan't to msg text2 to the chan. And "$2- $+ :" means that if someone says text1 &lt;nick&gt;, then i'll msg "&lt;nick&gt;: text2". <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile"><br><br>What about my other request? Or maybe it's to much work?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9590">toXiP</a> — Wed Jan 02, 2008 7:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2008-01-02T06:52:08-04:00</updated>

		<published>2008-01-02T06:52:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79738#p79738</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79738#p79738"/>
		<title type="html"><![CDATA[Basic on text/join scripts and abit more advanced request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79738#p79738"><![CDATA[
<blockquote class="uncited"><div>I thought you could help me with so simple mirc-to-tcl.</div></blockquote>If you explain what the mIRC "code" does, we might be a little more helpful  <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=2878">user</a> — Wed Jan 02, 2008 6:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2008-01-01T22:23:35-04:00</updated>

		<published>2008-01-01T22:23:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79735#p79735</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79735#p79735"/>
		<title type="html"><![CDATA[Basic on text/join scripts and abit more advanced request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79735#p79735"><![CDATA[
<blockquote class="uncited"><div>I thought you could help me with so simple mirc-to-tcl. </div></blockquote>We don't do mIRC "script" conversions simply because we know only <a href="http://www.tcl.tk/" class="postlink">Tcl</a>.<br><br>The <a href="http://www.egghelp.org/tcl.htm" class="postlink">Tcl Archive</a> is a good place to start looking for what you wish (read the sticky topics as well); also use the <a href="http://forum.egghelp.org/search.php" class="postlink">Search</a> function.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Jan 01, 2008 10:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[toXiP]]></name></author>
		<updated>2008-01-01T22:09:06-04:00</updated>

		<published>2008-01-01T22:09:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79734#p79734</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79734#p79734"/>
		<title type="html"><![CDATA[Basic on text/join scripts and abit more advanced request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79734#p79734"><![CDATA[
I thought you could help me with so simple mirc-to-tcl. And Alchera, how could a this rss-script help me here? Does it have a "!last"-cmd?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9590">toXiP</a> — Tue Jan 01, 2008 10:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2008-01-01T19:02:28-04:00</updated>

		<published>2008-01-01T19:02:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79727#p79727</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79727#p79727"/>
		<title type="html"><![CDATA[Basic on text/join scripts and abit more advanced request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79727#p79727"><![CDATA[
toXip: <a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=1225" class="postlink">rssnews.tcl</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Jan 01, 2008 7:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2008-01-01T18:45:46-04:00</updated>

		<published>2008-01-01T18:45:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79722#p79722</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79722#p79722"/>
		<title type="html"><![CDATA[Basic on text/join scripts and abit more advanced request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79722#p79722"><![CDATA[
We don't do mirc-2-tcl here. Since you're already familiar with mirc scripting, tcl's logic should be pretty simple, so refer to your tcl &amp; eggdrop documentation (particularly the tcl-commands.doc that comes with eggdrop, and <a href="http://tcl.tk/man/tcl8.4/TclCmd/" class="postlink">http://tcl.tk/man/tcl8.4/TclCmd/</a> )<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Jan 01, 2008 6:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[toXiP]]></name></author>
		<updated>2008-01-01T11:59:59-04:00</updated>

		<published>2008-01-01T11:59:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79716#p79716</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79716#p79716"/>
		<title type="html"><![CDATA[Basic on text/join scripts and abit more advanced request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79716#p79716"><![CDATA[
I am all new to TCL, but I got some experience with mIRC scripts. I was wondering if someone could tell me how theese mIRC scripts would look like in TCL?<div class="codebox"><p>Code: </p><pre><code>on *:JOIN:#Channel1: {if ($nick isop #Channel2) { mode # +o $nick }}</code></pre></div><div class="codebox"><p>Code: </p><pre><code>on *:TEXT:*:#Channel1: {if (text1 isin $1-) { msg # $2- $+ : Text2! }}</code></pre></div>Also, I would make a request for scripts that can:<br>- !last -&gt; Show the last added news (on a page), ex: <blockquote class="uncited"><div>&lt;user1&gt; !last<br>&lt;eggdrop&gt; Last News: &lt;title&gt; &lt;writer&gt; &lt;date&gt;</div></blockquote>- !News -&gt; Show numbers of news, ex:<blockquote class="uncited"><div>&lt;user1&gt; !news<br>&lt;eggdrop&gt; We have posted XX news.</div></blockquote>- !Search -&gt; Search through news, ex:<blockquote class="uncited"><div>&lt;user1&gt; !search cat<br>&lt;eggdrop&gt; Result: News found! &lt;urltonews&gt;<br>&lt;user1&gt; !search dog<br>&lt;eggdrop&gt; Result: News not found!</div></blockquote>It would be great with help from you guys!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9590">toXiP</a> — Tue Jan 01, 2008 11:59 am</p><hr />
]]></content>
	</entry>
	</feed>
