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

	<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-27T07:33:07-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-27T07:33:07-04:00</updated>

		<published>2003-06-27T07:33:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22629#p22629</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22629#p22629"/>
		<title type="html"><![CDATA[invalid idx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22629#p22629"><![CDATA[
indeed tnx man<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Fri Jun 27, 2003 7:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-27T00:56:44-04:00</updated>

		<published>2003-06-27T00:56:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22622#p22622</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22622#p22622"/>
		<title type="html"><![CDATA[invalid idx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22622#p22622"><![CDATA[
Well, the master sends a ms to the slave who answers back to the master's question. Simple huh? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Jun 27, 2003 12:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-26T11:09:16-04:00</updated>

		<published>2003-06-26T11:09:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22605#p22605</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22605#p22605"/>
		<title type="html"><![CDATA[invalid idx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22605#p22605"><![CDATA[
yes i know and it works great hehe i just wanted to know what you coded but like more how to look at it so i can do this my self next time hehe<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Thu Jun 26, 2003 11:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-25T16:01:06-04:00</updated>

		<published>2003-06-25T16:01:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22588#p22588</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22588#p22588"/>
		<title type="html"><![CDATA[invalid idx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22588#p22588"><![CDATA[
The master part load on the master, the eggdrop yo want to perform commands from and the slave on the rest of the bots you want to get an answer from. Something like this anyway. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Jun 25, 2003 4:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-25T14:15:36-04:00</updated>

		<published>2003-06-25T14:15:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22580#p22580</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22580#p22580"/>
		<title type="html"><![CDATA[invalid idx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22580#p22580"><![CDATA[
didn't work at first but changed the var myip now it works great tnx man<br><br>not required but can i ask you little favor can you give some explaination of what you did so i understand better not required tho if you want to ...<br><div class="codebox"><p>Code: </p><pre><code># master bind dcc o netip netip:dcc bind bot - result result:bot proc netip:dcc {hand idx arg} {   putallbots "netip $idx yourip" } proc result:bot {hand idx arg} {   putidx [lindex $arg 0] "\002$hand\002 answered back: [lrange $arg 1 end]" } # slave bind bot - netip netip:bot proc netip:bot {hand idx arg} { 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 } }  switch -exact -- [strlwr [lindex $arg 1]] {     "yourip" {       putbot $hand "result [lindex $arg 0] $MyIP"     }   } } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Wed Jun 25, 2003 2:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-25T10:05:14-04:00</updated>

		<published>2003-06-25T10:05:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22563#p22563</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22563#p22563"/>
		<title type="html"><![CDATA[invalid idx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22563#p22563"><![CDATA[
Put this in a tcl file and load it on the master (hub):<div class="codebox"><p>Code: </p><pre><code># masterbind dcc o netip netip:dcc bind bot - result result:botproc netip:dcc {hand idx arg} {   putallbots "netip $idx yourip"}proc result:bot {hand idx arg} {   putidx [lindex $arg 0] "\002$hand\002 answered back: [lrange $arg 1 end]"}</code></pre></div>and this in your slaves (leafs):<div class="codebox"><p>Code: </p><pre><code># slavebind bot - netip netip:bot proc netip:bot {hand idx arg} {   switch -exact -- [strlwr [lindex $arg 1]] {     "yourip" {       putbot $hand "result [lindex $arg 0] ${::my-ip}"    }   } }</code></pre></div>I've made it reply the results only to the person who dose the .netip thing.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Jun 25, 2003 10:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-25T08:54:08-04:00</updated>

		<published>2003-06-25T08:54:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22559#p22559</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22559#p22559"/>
		<title type="html"><![CDATA[invalid idx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22559#p22559"><![CDATA[
yes something like that<br><br>i type .netip<br>and get the list of all the ips on the bots.<br><br>so send command .netip<br>then get back <br><br>bot 1 ip<br>bot 2 ip<br>bot 3 ip<br>bot 4 ip<br>bot 5 ip<br><br>this over the party line ..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Wed Jun 25, 2003 8:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-25T08:45:34-04:00</updated>

		<published>2003-06-25T08:45:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22557#p22557</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22557#p22557"/>
		<title type="html"><![CDATA[invalid idx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22557#p22557"><![CDATA[
I don't understand exactly what you want to do there, anyway, in order to get the ip from a bot first send a msg to the target to tell his ip then the target should send back the answer answer, something like this anyway.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Jun 25, 2003 8:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-25T08:19:55-04:00</updated>

		<published>2003-06-25T08:19:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22555#p22555</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22555#p22555"/>
		<title type="html"><![CDATA[invalid idx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22555#p22555"><![CDATA[
hmm nice but not exacly what i wanted to know i think cause putlog won't show it on the party line and i want the bots to show there ips over the party line .. :/ or am i wrong ?? cause me kinda little noob at this hehe<br><br>i think i might have a solution but it seems to difficult i think there is a beter way <br><br>if i use putbot it is an event that is ignored by party line bots only for script perphoses, so if i catch the file event and send args with it and show them that would work as wel but isn't there an easyer way ?? cause i don't know mutch commands and i don't see any in the eggdrop docu.<br><br>plz syntax + simple example<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Wed Jun 25, 2003 8:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-25T01:08:38-04:00</updated>

		<published>2003-06-25T01:08:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22530#p22530</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22530#p22530"/>
		<title type="html"><![CDATA[invalid idx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22530#p22530"><![CDATA[
Example:<div class="codebox"><p>Code: </p><pre><code>bind dcc o botnet botnet:dccbind bot - botnet botnet:botproc botnet:dcc {hand idx arg} {  switch -exact -- [strlwr [lindex $arg 0]] {    "bla" {      putallbots "botnet $hand bla"    }  }}proc botnet:bot {hand idx arg} {  set arg  [lrange $arg 1 end]  set hand [lindex $arg 0]@$hand  switch -exact -- [strlwr [lindex $arg 0]] {    "bla" {      putlog "$hand told be bla"    }  }}</code></pre></div>something like this anyway <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Jun 25, 2003 1:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-24T21:54:17-04:00</updated>

		<published>2003-06-24T21:54:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22523#p22523</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22523#p22523"/>
		<title type="html"><![CDATA[invalid idx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22523#p22523"><![CDATA[
ah i see <br><br>BOT<br><br>bind bot &lt;flags&gt; &lt;command&gt; &lt;proc&gt;<br>proc-name &lt;from-bot&gt; &lt;command&gt; &lt;text&gt;<br><br>Description: triggered by a message coming from another bot in the botnet. The first word is the command and the rest becomes the text argument; flags are ignored.<br><br>Module: core<br><br>got an example ?<br><br>what do i use to send it to the botnet so i can read it from an other bot cause ive read about putbot and it only intcepts it for scripting else ignored so ... ??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Tue Jun 24, 2003 9:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-24T21:49:34-04:00</updated>

		<published>2003-06-24T21:49:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22521#p22521</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22521#p22521"/>
		<title type="html"><![CDATA[invalid idx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22521#p22521"><![CDATA[
what you mean the second parameter isn't an idx ?? where can i read about this i mean what am i looking for ?<br><br>it works when add global botnick and if i do this <br>  <div class="codebox"><p>Code: </p><pre><code>putdcc $idx "Botnick: $botnick BotIP: $MyIP"</code></pre></div>instead of this<br>  <div class="codebox"><p>Code: </p><pre><code>putdcc $idx "BotIP: $MyIP"</code></pre></div>but in party line when a bot answers it shows the nick so i don't need an second nick<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Tue Jun 24, 2003 9:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-24T19:58:05-04:00</updated>

		<published>2003-06-24T19:58:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22517#p22517</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22517#p22517"/>
		<title type="html"><![CDATA[invalid idx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22517#p22517"><![CDATA[
Read about the 'bot' bind -- the 2nd parameter isn't an idx!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Jun 24, 2003 7:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-24T18:18:13-04:00</updated>

		<published>2003-06-24T18:18:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22513#p22513</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22513#p22513"/>
		<title type="html"><![CDATA[invalid idx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22513#p22513"><![CDATA[
why do i get an invalid idx ?? in the second proc<br><div class="codebox"><p>Code: </p><pre><code>bind dcc m netip send:netip bind bot - netip bot:netip 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"  putallbots "netip"} proc bot:netip {handle idx arg} {  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 "BotIP: $MyIP"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Tue Jun 24, 2003 6:18 pm</p><hr />
]]></content>
	</entry>
	</feed>
