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

	<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>2013-02-01T17:44:23-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-02-01T17:44:23-04:00</updated>

		<published>2013-02-01T17:44:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100891#p100891</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100891#p100891"/>
		<title type="html"><![CDATA[Relay Botnet Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100891#p100891"><![CDATA[
This i really didnt tested and im not sure about the proc matched:proc variable [join [lrange $arg 1 end]] if its good<br><br>If i messed something sorry, if someone will eventually  test this and the script will give errors just let me know and i will fix it as quickly as i can. <br><br>The code looks horrible i know <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> yet i wrote it here and didnt had time to design everything.<br><div class="codebox"><p>Code: </p><pre><code>bind PUBM - "#channel *" match:pubmbind BOT - matched matched:procset temp(match) [list "something" "are whe there?"]             ;# words/phrases you want to matchset temp(network) "quakenet"                                            ;# network from where you want the bot to match the words/phrasesset temp(bot) "leafbot"                                                       ;# botnet nick of the eggdrop who will send the relayed messageset temp(relaychan) "#channel2"                                        ;# channel on which the relayed message will be displayedproc match:pubm {nick uhost hand chan arg} {global tempif {$nick == $::botnick} { return }if {$::network == "$temp(network)"} {foreach n $temp(match) {if {[string match -nocase "*$n*" $arg]} {putbot BOT "matched $arg"}}}}proc matched:proc {from key arg} {global tempputserv "PRIVMSG $temp(chanrelay) :[join [lrange $arg 1 end]]"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Fri Feb 01, 2013 5:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CoCooner]]></name></author>
		<updated>2009-02-14T21:34:24-04:00</updated>

		<published>2009-02-14T21:34:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87401#p87401</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87401#p87401"/>
		<title type="html"><![CDATA[Relay Botnet Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87401#p87401"><![CDATA[
Hello<br><br>I'd like a relay script where I can set it only reacts to certain words and the whole still has a botnet to another irc network posts<br><br>I have already searched archives but unfortunately not found the script to respond to certain words could<br><br><br>msl i have this but i want it in tcl <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> <br><div class="codebox"><p>Code: </p><pre><code>on *:TEXT:Hello:#Channel1:{  if ($nick == AnyNick) &amp;&amp; ($network == Network1) {    var %a = 1    while ($scon(%a)) {      if ($scon(%a).network == Network2) {        scon %a msg #Channel2 $1-      }      inc %a    }  }}</code></pre></div><br><br><br>it would be nice if I get such a small script could write because I myself can no TCL<br><br>ever thank in advance<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10485">CoCooner</a> — Sat Feb 14, 2009 9:34 pm</p><hr />
]]></content>
	</entry>
	</feed>
