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

	<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>2009-08-18T15:25:44-04:00</updated>

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

		<entry>
		<author><name><![CDATA[XndR]]></name></author>
		<updated>2009-08-18T15:25:44-04:00</updated>

		<published>2009-08-18T15:25:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89957#p89957</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89957#p89957"/>
		<title type="html"><![CDATA[mIRC script -&gt; TCL script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89957#p89957"><![CDATA[
Thanks, it works great. Only question I have is: does eggdrop support foreign characters or no? Sometimes the string will end early if it encounters specific characters.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10820">XndR</a> — Tue Aug 18, 2009 3:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-08-18T01:58:44-04:00</updated>

		<published>2009-08-18T01:58:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89945#p89945</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89945#p89945"/>
		<title type="html"><![CDATA[mIRC script -&gt; TCL script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89945#p89945"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># text input channelset vRelayChanInput "#eggtcl"# text output channelset vRelayChanOutput "#tcl"# text word/phrase to matchset vRelayText "myspace"bind PUBM - * pRelayCheckTextproc pRelayCheckText {nick uhost hand chan text} {    global vRelayChanInput vRelayChanOutput vRelayText    if {[string equal -nocase $vRelayChanInput $chan]} {        if {[string match -nocase *${vRelayText}* $text]} {            if {[isop $nick $chan]} {                if {[validchan $vRelayChanOutput]} {                    if {[botonchan $vRelayChanOutput]} {                        putserv "PRIVMSG $vRelayChanOutput :$nick said $text in $chan"                    }                }            }        }    }    return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Tue Aug 18, 2009 1:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[XndR]]></name></author>
		<updated>2009-08-17T20:15:29-04:00</updated>

		<published>2009-08-17T20:15:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89942#p89942</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89942#p89942"/>
		<title type="html"><![CDATA[mIRC script -&gt; TCL script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89942#p89942"><![CDATA[
It checks every line of text in chan1. If any part of it matches phrase1 and is said by an op then it will echo the text in chan2.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10820">XndR</a> — Mon Aug 17, 2009 8:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-08-17T18:20:17-04:00</updated>

		<published>2009-08-17T18:20:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89941#p89941</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89941#p89941"/>
		<title type="html"><![CDATA[mIRC script -&gt; TCL script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89941#p89941"><![CDATA[
mIRC scripting is complete jibberish. Wouldn't it be easier simply to tell us what it does?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Mon Aug 17, 2009 6:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[XndR]]></name></author>
		<updated>2009-08-17T18:16:52-04:00</updated>

		<published>2009-08-17T18:16:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89940#p89940</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89940#p89940"/>
		<title type="html"><![CDATA[mIRC script -&gt; TCL script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89940#p89940"><![CDATA[
I wrote a mIRC script awhile back and am now looking to add it to an eggdrop so I don't have to be online 24/7 for the script to be active. <br><br>I have no experience with TCL scripting so I was hoping someone could just translate this real quick.<br><div class="codebox"><p>Code: </p><pre><code>On *:Text:*:#chan1:{  if (phrase1 isin $1-) {    if ($nick isop #chan1) {      msg #chan2 $1-    }  }}</code></pre></div>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10820">XndR</a> — Mon Aug 17, 2009 6:16 pm</p><hr />
]]></content>
	</entry>
	</feed>
