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

	<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-09-05T03:37:16-04:00</updated>

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

		<entry>
		<author><name><![CDATA[TeDDyBeeR]]></name></author>
		<updated>2003-09-05T03:37:16-04:00</updated>

		<published>2003-09-05T03:37:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26527#p26527</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26527#p26527"/>
		<title type="html"><![CDATA[what's wrong ??? :/]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26527#p26527"><![CDATA[
sorry wrong thout... i thout i saw someting <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> can't delete message<br><br>regards,<br>TeDDyBeeR<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3774">TeDDyBeeR</a> — Fri Sep 05, 2003 3:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-04T23:40:52-04:00</updated>

		<published>2003-09-04T23:40:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26519#p26519</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26519#p26519"/>
		<title type="html"><![CDATA[what's wrong ??? :/]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26519#p26519"><![CDATA[
Hello guys, with this tcl I wish use multi whois with 2 bots... this is the tcl ..<br><div class="codebox"><p>Code: </p><pre><code>bind dcc m endcc dcc_whoisbind bot - aubot bot_whoisproc dcc_whois {hand idx text} {set idx [string tolower [lindex $text 0]]putallbots "aubot $idx"}proc bot_whois {hand idx arg} {global swi_idx set idx [join [lrange [split $arg] 0 end]]dccbroadcast "#$hand# endcc $idx"if {$idx == ""} {dccbroadcast "Usage: .swhois \[server\] &lt;nickmask&gt;"} else {set swi_idx $idxswi_wibindall                putserv "WHOIS $idx"}}#processus de whois proc raw:swi_wi301 {from key arg} {global swi_idxset awaymessage [string trimleft [join [lrange [split $arg] 2 end]] :]if {[valididx $swi_idx]} {dccbroadcast "Away         : $awaymessage"}}proc raw:swi_wi311 {from key arg} {global swi_idxset nick [lindex [split $arg] 1]set username [lindex [split $arg] 2]set hostname [lindex [split $arg] 3]set realname [string trimleft [join [lrange [split $arg] 5 end]] :]if {[valididx $swi_idx]} {dccbroadcast "--- Whois $nick"dccbroadcast "Nick         : $nick"dccbroadcast "Realname     : $realname"dccbroadcast "Address      : $username@$hostname"}}proc raw:swi_wi312 {from key arg} {global swi_idxset server [lindex [split $arg] 2]set serverinfo [string trimleft [join [lrange [split $arg] 3 end]] :]if {[valididx $swi_idx]} {dccbroadcast "Server       : $server"dccbroadcast "Serverinfo   : $serverinfo"}}proc raw:swi_wi313 {from key arg} {global swi_idxif {[valididx $swi_idx]} {dccbroadcast "IRC Operator : yes"}}proc raw:swi_wi317 {from key arg} {global swi_idxset idletime [lindex [split $arg] 2]set signontime [lindex [split $arg] 3]if {[catch {set idletime [duration $idletime]}]} { set idletime "$idletime seconds"  }if {[valididx $swi_idx]} {dccbroadcast "Idle         : $idletime"if {[swi_isnum $signontime]} { dccbroadcast "Signon time  : [ctime $signontime]" }}}proc raw:swi_wi318 {from key arg} {global swi_idxif {[valididx $swi_idx]} {dccbroadcast "--- End of Whois"}swi_wiunbindall}proc raw:swi_wi319 {from key arg} {global swi_idxset channels [string trimleft [join [lrange [split $arg] 2 end]] :]if {[valididx $swi_idx]} {dccbroadcast "Channels     : $channels"}}proc raw:swi_wi401 {from key arg} {global swi_idxset nick [lindex [split $arg] 1]if {[valididx $swi_idx]} {dccbroadcast "--- Whois $nick"dccbroadcast "No such nick/channel"}}proc raw:swi_wi402 {from key arg} {global swi_idxif {[valididx $swi_idx]} {dccbroadcast "--- Whois"dccbroadcast "No such server"dccbroadcast "--- End of Whois"}swi_wiunbindall}#autres processus ...proc swi_isnum {number} {if {($number != "") &amp;&amp; (![regexp \[^0-9\] $number])} {return 1} else {return 0}}proc swi_wibindall { } {bind raw - 301 raw:swi_wi301bind raw - 311 raw:swi_wi311bind raw - 312 raw:swi_wi312bind raw - 313 raw:swi_wi313bind raw - 317 raw:swi_wi317bind raw - 318 raw:swi_wi318bind raw - 319 raw:swi_wi319bind raw - 401 raw:swi_wi401bind raw - 402 raw:swi_wi402}proc swi_wiunbindall { } {unbind raw - 301 raw:swi_wi301unbind raw - 311 raw:swi_wi311unbind raw - 312 raw:swi_wi312unbind raw - 313 raw:swi_wi313unbind raw - 317 raw:swi_wi317unbind raw - 318 raw:swi_wi318unbind raw - 319 raw:swi_wi319unbind raw - 401 raw:swi_wi401unbind raw - 402 raw:swi_wi402}proc swi_wwbindall { } {bind raw - 314 raw:swi_ww314bind raw - 369 raw:swi_ww369bind raw - 402 raw:swi_ww402bind raw - 406 raw:swi_ww406}proc swi_wwunbindall { } {unbind raw - 314 raw:swi_ww314unbind raw - 369 raw:swi_ww369unbind raw - 402 raw:swi_ww402unbind raw - 406 raw:swi_ww406}</code></pre></div>and i've got the message :<br>***(IRCNet)#InfoBot#endcc test<br><br>but the whois don't appeared in the party-line ... thank you for your help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Thu Sep 04, 2003 11:40 pm</p><hr />
]]></content>
	</entry>
	</feed>
