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

	<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>2004-07-21T18:21:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-07-21T18:21:21-04:00</updated>

		<published>2004-07-21T18:21:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38944#p38944</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38944#p38944"/>
		<title type="html"><![CDATA[botnet asciimap problem..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38944#p38944"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>############################### Create a Ascii map of your# current botnet##############################proc asciimap {space bot} {  global version  botnet_uplinks  return "$bot \(&lt;b&gt;$version&lt;/b&gt;\)&lt;br&gt;%n[mapgen $space $bot]"}############################### Show current uplinks##############################proc botnet_uplinks {} {  global botnet http botnet-nick botnetshare botnetvers  if {[array exists botnet]} {    array unset botnet  }  set botnet(${botnet-nick}) ${botnet-nick}  foreach x [botlist] {     set botnet([lindex $x 0]) [lindex $x 1]    set botnetshare([lindex $x 0]) [lindex $x 3]    set botnetvers([lindex $x 0]) [vrsres [lindex $x 2]]  }}############################### Create a Ascii map of your# current botnet##############################proc mapgen {space bot} {  global botnet botnetshare botnetvers  foreach botlink [array names botnet] {    if {![string match $bot $botlink] &amp;&amp; [string match $botnet($botlink) $bot]} {       if {[info exists downlinks]} {        lappend downlinks $botlink      } else {      set downlinks $botlink      }    }  }  if {![info exists downlinks]} {     return   }  foreach botlink $downlinks {    if {[string match $botlink [lindex $downlinks end]]} {      if {[info exist return]} {        append return "$space  `-$botnetshare($botlink)$botlink \(&lt;b&gt;$botnetvers($botlink)&lt;/b&gt;\)     &lt;br&gt;%n"      } else {      set return "$space  `-$botnetshare($botlink)$botlink \(&lt;b&gt;$botnetvers($botlink)&lt;/b&gt;\)     &lt;br&gt;%n"      }      mapgen "$space   " $botlink    } else {      if {[info exists return]} {        append return "$space  |-$botnetshare($botlink)$botlink \(&lt;b&gt;$botnetvers($botlink)&lt;/b&gt;\)     &lt;br&gt;%n"      } else {      set return "$space  |-$botnetshare($botlink)$botlink \(&lt;b&gt;$botnetvers($botlink)&lt;/b&gt;\)     &lt;br&gt;%n"      }      mapgen "$space   |-   " $botlink    }  }  return ${return}}</code></pre></div>can't put my finger on it but its only listing the direct linked bots any one any suggestions?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Wed Jul 21, 2004 6:21 pm</p><hr />
]]></content>
	</entry>
	</feed>
