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

	<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>2003-06-22T14:36:03-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-22T14:36:03-04:00</updated>

		<published>2003-06-22T14:36:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22398#p22398</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22398#p22398"/>
		<title type="html"><![CDATA[What am i doing wrong]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22398#p22398"><![CDATA[
Hmm i am trying to add some features to the netbots script, to jump servers, and show ip on dcc well features these are for personal use so ... i require it i do this stuff now from channel but i would prefer to do it from dcc over botnet haven't realy figured out yet how to script for a botnet so my question : <br><br>what am i doing wrong ??<br><br>cause the ip thing isn't showing i mean i am doing something wrong cause it only executes it local and not on the botnet, my other commands do ..<br><div class="codebox"><p>Code: </p><pre><code>bind dcc m netchange send:netchangebind bot - netchange bot:netchangebind dcc m netip send:netipbind bot - netip bot:netipproc send:netchange {handle idx arg} {  set srv [lindex $arg 0]  set prt [lindex $arg 1]  set psd [lindex $arg 2]  if {$srv == ""} {  putdcc $idx "Syntax Error at least define a server Useage: .netchange &lt;server&gt; &lt;port&gt; &lt;password&gt;"  } else {  jump $srv $prd $psd  }}proc bot:netchange {handle idx arg} {  set srv [lindex $arg 0]  set prt [lindex $arg 1]  set psd [lindex $arg 2]  if {$srv == ""} {  putdcc $idx "Syntax Error at least define a server Useage: .netchange &lt;server&gt; &lt;port&gt; &lt;password&gt;"  } else {  jump $srv $prd $psd  }}proc send:netip {handle idx arg} {global botnick  set MyIP ""   foreach a {a b c d e f g h i j k} {       catch {      set external [socket $a.root-servers.net 53]      set MyIP [lindex [fconfigure $external -sockname] 0]      close $external                 }   if { ![string equal $MyIP ""] } { break }   }  putdcc $idx "Botnick: $botnick BotIP: $MyIP" }proc bot:netip {handle idx arg} {global botnick  set MyIP ""   foreach a {a b c d e f g h i j k} {       catch {      set external [socket $a.root-servers.net 53]      set MyIP [lindex [fconfigure $external -sockname] 0]      close $external                 }   if { ![string equal $MyIP ""] } { break }   }  putdcc $idx "Botnick: $botnick BotIP: $MyIP" }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Jun 22, 2003 2:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
