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

	<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-09-24T11:00:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[MeJseL]]></name></author>
		<updated>2013-09-24T11:00:14-04:00</updated>

		<published>2013-09-24T11:00:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102064#p102064</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102064#p102064"/>
		<title type="html"><![CDATA[botnet say trigger script (need help with current script)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102064#p102064"><![CDATA[
I got this script for notice all commands i got on the bot and it will share output with the botnet and print it to a channel.<br><br>Problem is bots print out 1 line more the once its like it print out stuff 2 times and sometimes it forgets to print out some stuff from my command list.<div class="codebox"><p>Code: </p><pre><code>### SETTINGSset egglist { "flywithme" "hejda" "malvax"}set comlist {"» !date""» !uptime""» !ping &lt;nick&gt;""» !cal &lt;calculation&gt;""» !google &lt;search word&gt;""» !dns &lt;host&gt;""» !nmap &lt;ip adress&gt; (NOT WORKING)""» !cc &lt;amount&gt; &lt;from&gt; &lt;to&gt; (NOT WORKING)""» !ip &lt;ip&gt; (chanset +ipcheck)""» !troll (chanset +troll)""» !aftonbladet""» Piratebay: !pandroid !pmovie""» !liveleak""» !bash""» !phub"}bind pub n|o "!pcmds" list:sendproc list:send {nick uhost handle chan arg} {   global egglist comlist botnick   set cur_egg 0   foreach cur_com $comlist {      if { [lindex $egglist $cur_egg] == $botnick } {         puthelp "NOTICE $nick :$cur_com"       } else {         putbot [lindex $egglist $cur_egg] [concat "&gt;say $nick" $cur_com]       }      incr cur_egg      if { $cur_egg == [llength $comlist] } {         set cur_egg 0      }   }}### SETTINGSset master_egg "flywithme"# The botnet-nick of the senderset saychan "#lastwish"### BINDSbind bot - "&gt;say" list:say### PROCEDURESproc list:say { from cmd arg } {   global saychan master_egg   set nick [lindex $arg 0]   set text [lrange $arg 1 end]   if { $from == $master_egg } {      puthelp "NOTICE $nick :$text"   }} </code></pre></div><br>If anyone is willing to help me out on this would be great. or point out how to fix it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4156">MeJseL</a> — Tue Sep 24, 2013 11:00 am</p><hr />
]]></content>
	</entry>
	</feed>
