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

	<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>2007-05-05T13:18:43-04:00</updated>

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

		<entry>
		<author><name><![CDATA[KEMA]]></name></author>
		<updated>2007-05-05T13:18:43-04:00</updated>

		<published>2007-05-05T13:18:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72546#p72546</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72546#p72546"/>
		<title type="html"><![CDATA[how to to make it works to all channel that bot entry?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72546#p72546"><![CDATA[
how to make it work automatically to all channel that bot entry? <br>example :<br>we are stay in #chan-b<br>than command in #chan-b !chaninfo #chan-a<br>the bot will display information at #chan-b about #chan-a <br>I need additional info for how many users there, how many banned mask, how many ops, and how many +v are in chan-a.<br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"> thx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8405">KEMA</a> — Sat May 05, 2007 1:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[masheen]]></name></author>
		<updated>2007-05-02T03:38:09-04:00</updated>

		<published>2007-05-02T03:38:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72434#p72434</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72434#p72434"/>
		<title type="html"><![CDATA[NICK/CHAN INFO script (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72434#p72434"><![CDATA[
thanks for the fast replies and for the help. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> i learn a lot on this one ^_^ m closing the topic.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8950">masheen</a> — Wed May 02, 2007 3:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-04-30T21:39:27-04:00</updated>

		<published>2007-04-30T21:39:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72410#p72410</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72410#p72410"/>
		<title type="html"><![CDATA[NICK/CHAN INFO script (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72410#p72410"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set mychannel "#Channel"bind pub -|- !whois script:whoisproc script:whois { nick host handle chan text } {global userset text [split $text]set user [lindex $text 0]if {$user == ""} {puthelp "NOTICE $nick :You need to supply a nickname."; return}putquick "WHOIS $user"}bind raw - "311" script:whois1bind raw - "312" script:whois1bind raw - "318" script:whois1bind raw - "319" script:whois1bind raw - "401" script:whois1bind raw - "301" script:whois1bind raw - "313" script:whois1bind raw - "330" script:whois1bind raw - "317" script:whois1proc script:whois1 {from key text} {global mychannel userset text [split $text " "]set topaste [join [lrange $text 1 end] " "]set nickname [lindex $text 1]if {![info exists user] || [string compare -nocase $nickname $user]} {return 0}putserv "PRIVMSG $mychannel :$topaste"}putlog "!whois script loaded by iamdeath."</code></pre></div>yay! Thanks alot nml, that was really very usefull.. Thanks alot, I understand it now, earlier it was'nt clear to me. Now it's in my brain like drilled <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">.. you rock man... by the way, did  we just wasted our time, we already had a tcl like this in TCL archive LOL <br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=1091" class="postlink">WHOIS TCL</a><br>anyway got to learn many things from this posts and yeah I have updated more raw so that all the replies can be seen in the channel.<br><br>enjoy masheen and many thanks to nml<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Mon Apr 30, 2007 9:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-04-30T21:23:06-04:00</updated>

		<published>2007-04-30T21:23:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72406#p72406</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72406#p72406"/>
		<title type="html"><![CDATA[NICK/CHAN INFO script (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72406#p72406"><![CDATA[
Try something like this:<div class="codebox"><p>Code: </p><pre><code>if {![info exists user] || [string compare -nocase $nickname $user]} {</code></pre></div>The trick is that tcl uses "lazy" operators, that is, in the case of "test1 || test2", if the first test is true, there is no need to evaluate the second one, since it cannot alter the resulting condition. So in the above case, if the variable does'nt exist, there is'nt any use for testing it against "nickname".<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Apr 30, 2007 9:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-04-30T21:10:29-04:00</updated>

		<published>2007-04-30T21:10:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72405#p72405</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72405#p72405"/>
		<title type="html"><![CDATA[NICK/CHAN INFO script (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72405#p72405"><![CDATA[
thanks alot nml.. the 2nd tip I am using and I got rid of regsub issues thanks alot for the tip.. but the first tip.. I can't get it done, can you help me how to solve that issue?.. I've tried all the possible ways.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Mon Apr 30, 2007 9:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-04-30T19:39:28-04:00</updated>

		<published>2007-04-30T19:39:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72404#p72404</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72404#p72404"/>
		<title type="html"><![CDATA[NICK/CHAN INFO script (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72404#p72404"><![CDATA[
@iamdeath:<br>Try adding some tests wether user has been set before you actually read it (in script:whois1), and you'll get rid of those errors.<br><br>Also, change the name of the argument "args" to something else (anything but "args"), also "join" the output from "lrange", and you can drop all those regsubs (alot faster, and proper).<br>ie:<div class="codebox"><p>Code: </p><pre><code>proc script:whois1 {from key text} {...set text [split $text " "]...set topaste [join [lrange $text 1 end] " "]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Apr 30, 2007 7:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-04-30T15:21:26-04:00</updated>

		<published>2007-04-30T15:21:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72403#p72403</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72403#p72403"/>
		<title type="html"><![CDATA[NICK/CHAN INFO script (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72403#p72403"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set mychannel "#channel"bind pub -|- !whois script:whoisproc script:whois { nick host handle chan text } {global userset text [split $text]set user [lindex $text 0]if {$user == ""} {puthelp "NOTICE $nick :You need to supply a nickname."; return}putquick "WHOIS $user"}bind raw - "311" script:whois1bind raw - "312" script:whois1bind raw - "318" script:whois1bind raw - "319" script:whois1bind raw - "401" script:whois1proc script:whois1 {from key args} {global mychannel userset text [split $args]set nickname [lindex $text 1]if {[string tolower $nickname] != [string tolower $user]}  {return 0}set topaste [lrange $text 1 end]regsub -all {\{} $topaste "" topasteregsub -all {\}} $topaste "" topasteregsub -all {\\} $topaste "" topasteputserv "PRIVMSG $mychannel :$topaste"}putlog "!whois script loaded by iamdeath."</code></pre></div>Now it should not occur the problem, I just tested it and yeah ignore this msg in DCC. <br><div class="codebox"><p>Code: </p><pre><code>Tcl error [script:whois1]: can't read "user": no such variableTcl error [script:whois1]: can't read "user": no such variableTcl error [script:whois1]: can't read "user": no such variableTcl error [script:whois1]: can't read "user": no such variable</code></pre></div>This will come when you restart the bot, once you perform the !whois command that msg will stop coming. Hey excuse me please, I aint a good TCL programmer, I am in learning stage.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Mon Apr 30, 2007 3:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-04-30T14:39:18-04:00</updated>

		<published>2007-04-30T14:39:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72402#p72402</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72402#p72402"/>
		<title type="html"><![CDATA[NICK/CHAN INFO script (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72402#p72402"><![CDATA[
Thanks for point it out masheen, to me the bot is showing on it's whois when it's reconnecting or being restarted. It is not showing all the users in the channel. I guess the tcl badchan.tcl you're using is causing the problem, that tcl must be scanning hosts for all the users in the channel. Try to stop it and then restart the bot you will find out yourself, yet I am reading more about it and if I get something helpfull i'll revise my script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Mon Apr 30, 2007 2:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-04-30T14:07:48-04:00</updated>

		<published>2007-04-30T14:07:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72400#p72400</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72400#p72400"/>
		<title type="html"><![CDATA[NICK/CHAN INFO script (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72400#p72400"><![CDATA[
Actually, the code written by iamdeath will dump the information from any WHOIS to the channel specified - including the ones done by the eggdrop core itself..  You'd probably need some request-tracking, so that output is only produced when a whois is requested using this script. The queueing system in my previous post might be a something to get started with.<br><br>Also, it does not use "args" properly within the script:whois1, as this is already a list of arguments. Changing the name to something different than "args" should solve that problem however.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Apr 30, 2007 2:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[masheen]]></name></author>
		<updated>2007-04-30T13:59:57-04:00</updated>

		<published>2007-04-30T13:59:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72398#p72398</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72398#p72398"/>
		<title type="html"><![CDATA[NICK/CHAN INFO script (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72398#p72398"><![CDATA[
thanks to the bot of you... i believe the !chaninfo and !nickinfo is ok now... the problem now is the !who &lt;nick&gt; the one u made <strong class="text-strong">iamdeath</strong>  seems to be working, but comes with a little bug dat i simply could not see in ur code... the problem is that when i restart the bot with the new !whois script... it starts displaying all the whois infor of all the nicks from the channel even when no one including me initiated a !whois command yet. dya guys think its being triggered by another script badchan.tcl maybe? i duno... pls help ^_^ again thanks to the both of u.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8950">masheen</a> — Mon Apr 30, 2007 1:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-04-30T13:41:09-04:00</updated>

		<published>2007-04-30T13:41:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72396#p72396</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72396#p72396"/>
		<title type="html"><![CDATA[NICK/CHAN INFO script (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72396#p72396"><![CDATA[
It's not that hard, you simply has to make yourself one with the code <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>Actually, it's a matter of practice and experience.. Keep at it, and you'll be there sooner or later <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=8052">nml375</a> — Mon Apr 30, 2007 1:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-04-30T13:33:11-04:00</updated>

		<published>2007-04-30T13:33:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72395#p72395</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72395#p72395"/>
		<title type="html"><![CDATA[NICK/CHAN INFO script (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72395#p72395"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set mychannel "#channel"bind pub -|- !whois script:whoisproc script:whois { nick host handle chan text } {set text [split $text]set user [lindex $text 0]if {$user == ""} {puthelp "NOTICE $nick :You need to supply a nickname."; return}putquick "WHOIS $user"}bind raw - "311" script:whois1bind raw - "312" script:whois1bind raw - "318" script:whois1bind raw - "319" script:whois1bind raw - "401" script:whois1proc script:whois1 {from key args} {global mychannelset text [split $args]set topaste [lrange $text 1 end]regsub -all {\{} $topaste "" topasteregsub -all {\}} $topaste "" topasteregsub -all {\\} $topaste "" topasteputserv "PRIVMSG $mychannel :$topaste"}putlog "!whois script loaded by iamdeath."</code></pre></div>Enjoy your whois script, tested and working fine on Undernet.<br><br>nml awsome work, wish we could write codes like that too <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br>Good job<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Mon Apr 30, 2007 1:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-04-30T13:38:16-04:00</updated>

		<published>2007-04-30T13:28:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72394#p72394</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72394#p72394"/>
		<title type="html"><![CDATA[NICK/CHAN INFO script (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72394#p72394"><![CDATA[
A slightly updated version reducing repeated code:<div class="codebox"><p>Code: </p><pre><code>proc get_ns {nick host hand text {dest ""}} { global get_ns if {[info exists get_ns(target)] &amp;&amp; ![string equal $get_ns(target) ""]} {return 0} puthelp "NOTICE $get_ns(target) :$text" if {[string match "*End of Info*" $text]} {  unset get_ns(target)  if {[info exists get_ns(queue)] &amp;&amp; [llength $get_ns(queue)] &gt; 0} {   set next [lindex $get_ns(queue) 0]   set get_ns(queue) [lreplace $get_ns(queue) 1 end]   set get_ns(target) [lindex $next 0]   putserv "PRIVMSG [lindex $next 1] :info [lindex $next 2]"  } }}proc request_ns {nick host hand chan text} { global get_ns lastbind if {[string lenght $text] &lt;= 0} {  puthelp "NOTICE $nick :You must supply a nickname."  return 1 } switch -- $lastbind {  "!nickinfo" {set target nickserv@services.dal.net}  "!chaninfo" {set target chanserv@services.dal.net}  default {return} } if {![info exists get_ns(target)] || [string equal $get_ns(target) ""]} {  puthelp "NOTICE $nick :There is already a request in progress. Your request has been queued."  lappend get_ns(queue) [list $nick $target [lindex [split $text] 0]"] } else {  set get_ns(target) $nick  putserv "PRIVMSG $target :info [lindex [split $text] 0]"  puthelp "NOTICE $nick :Request sent." }}bind pub -|- !nickinfo request_nsbind pub -|- !chaninfo request_nsbind notc -|- "*Info for *" get_nsbind notc -|- "*For extra info*" get_nsbind notc -|- "*Last seen address*" get_nsbind notc -|- "*Last seen time*" get_nsbind notc -|- "*Time registered*" get_nsbind notc -|- "*Time now*" get_nsbind notc -|- "*URL*" get_nsbind notc -|- "*Options*" get_nsbind notc -|- "*Founder*" get_nsbind notc -|- "*Mode Lock*" get_nsbind notc -|- "*Last Topic*" get_nsbind notc -|- "*Description:*" get_nsbind notc -|- "*Memo Level*" get_nsbind notc -|- "*Registered*" get_nsbind notc -|- "*Last opping*" get_nsbind notc -|- "*End of Info*" get_ns</code></pre></div>Edit: Slight logical error fixed, that would render the script actionless (would only enqueue new request without actually processing the queue).<br>Edit: Forgot to make lastbind global.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Apr 30, 2007 1:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-04-30T13:31:23-04:00</updated>

		<published>2007-04-30T13:14:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72393#p72393</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72393#p72393"/>
		<title type="html"><![CDATA[NICK/CHAN INFO script (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72393#p72393"><![CDATA[
The problem here, is that $nick would be NS (since NS is the one triggering this binding), rather than the nick originally requesting this information. This would require that you keep track of the original requester for the duration of the request.<br><br>I believe this code should do the trick, while also using proper queues, and not breaking the rfc that much (yes, we do respond to NOTICE's, but atleast we don't respond with PRIVMSG's). List of bindings taken from previous post by iamdeath.<br><br>Code has not been tested, but feel free to dig for bugs, flaws, etc :p<br><div class="codebox"><p>Code: </p><pre><code>proc get_ns {nick host hand text {dest ""}} { global get_ns if {![info exists get_ns(target)] || [string equal $get_ns(target) ""]} {return 0} puthelp "NOTICE $get_ns(target) :$text" if {[string match "*End of Info*" $text]} {  unset get_ns(target)  if {[info exists get_ns(queue)] &amp;&amp; [llength $get_ns(queue)] &gt; 0} {   set next [lindex $get_ns(queue) 0]   set get_ns(queue) [lreplace $get_ns(queue) 1 end]   set get_ns(target) [lindex $next 0]   putserv "PRIVMSG [lindex $next 1] :info [lindex $next 2]"  } }}proc request_ns {nick host hand chan text} { global get_ns if {[string lenght $text] &lt;= 0} {  puthelp "NOTICE $nick :You must supply a nickname."  return 1 } if {[info exists get_ns(target)] &amp;&amp; ![string equal $get_ns(target) ""]} {  puthelp "NOTICE $nick :There is already a request in progress. Your request has been queued."  lappend get_ns(queue) [list $nick "nickserv@services.dal.net" [lindex [split $text] 0]"] } else {  set get_ns(target) $nick  putserv "PRIVMSG nickserv@services.dal.net :info [lindex [split $text] 0]"  puthelp "NOTICE $nick :Request sent." }}proc request_cs {nick host hand chan text} { global get_ns if {[string lenght $text] &lt;= 0} {  puthelp "NOTICE $nick :You must supply a nickname."  return 1 } if {[info exists get_ns(target)] &amp;&amp; [string equal $get_ns(target) ""]} {  puthelp "NOTICE $nick :There is already a request in progress. Your request has been queued."  lappend get_ns(queue) [list $nick "chanserv@services.dal.net" [lindex [split $text] 0]"] } else {  set get_ns(target) $nick  putserv "PRIVMSG chanserv@services.dal.net :info [lindex [split $text] 0]"  puthelp "NOTICE $nick :Request sent." }}bind pub -|- !nickinfo request_nsbind pub -|- !chaninfo request_csbind notc -|- "*Info for *" get_nsbind notc -|- "*For extra info*" get_nsbind notc -|- "*Last seen address*" get_nsbind notc -|- "*Last seen time*" get_nsbind notc -|- "*Time registered*" get_nsbind notc -|- "*Time now*" get_nsbind notc -|- "*URL*" get_nsbind notc -|- "*Options*" get_nsbind notc -|- "*Founder*" get_nsbind notc -|- "*Mode Lock*" get_nsbind notc -|- "*Last Topic*" get_nsbind notc -|- "*Description:*" get_nsbind notc -|- "*Memo Level*" get_nsbind notc -|- "*Registered*" get_nsbind notc -|- "*Last opping*" get_nsbind notc -|- "*End of Info*" get_ns </code></pre></div>Edit: Slight logical error fixed, that would render the script actionless (would only enqueue new request without actually processing the queue)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Apr 30, 2007 1:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-04-30T12:54:02-04:00</updated>

		<published>2007-04-30T12:54:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72392#p72392</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72392#p72392"/>
		<title type="html"><![CDATA[NICK/CHAN INFO script (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72392#p72392"><![CDATA[
<blockquote class="uncited"><div>bind pub -|- !nickinfo script:text1 <br>bind pub -|- !chaninfo script:text2 <br>bind notc -|- "*Info for *" script:notices1 <br>bind notc -|- "*For extra info*" script:notices1 <br>bind notc -|- "*Last seen address*" script:notices1 <br>bind notc -|- "*Last seen time*" script:notices1 <br>bind notc -|- "*Time registered*" script:notices1 <br>bind notc -|- "*Time now*" script:notices1 <br>bind notc -|- "*URL*" script:notices1 <br>bind notc -|- "*Options*" script:notices1 <br>bind notc -|- "*Founder*" script:notices1 <br>bind notc -|- "*Mode Lock*" script:notices1 <br>bind notc -|- "*Last Topic*" script:notices1 <br>bind notc -|- "*Description:*" script:notices1 <br>bind notc -|- "*Memo Level*" script:notices1 <br>bind notc -|- "*Registered*" script:notices1 <br>bind notc -|- "*Last opping*" script:notices1 <br>bind notc -|- "*End of Info*" script:notices1 <br><br><br>proc script:text1 { nick host handle chan text } { <br>global towhom <br>set text [split $text] <br>set text [lindex $text 0] <br>set towhom "$nick"<br>if {$text == ""} {puthelp "NOTICE $nick :You need to supply a nickname."; return} <br>putserv "PRIVMSG <a href="mailto:nickserv@services.dal.net">nickserv@services.dal.net</a> :info $text" <br>} <br><br>proc script:text2 { nick host handle chan text } { <br>global towhom <br>set text [split $text] <br>set text [lindex $text 0] <br>set towhom "$nick"<br>if {$text == ""} {puthelp "NOTICE $nick :You need to supply a channel name."; return} <br>putserv "PRIVMSG <a href="mailto:chanserv@services.dal.net">chanserv@services.dal.net</a> :info $text" <br>} <br><br>proc script:notices1 {nick uhost hand text dest} { <br>global towhom<br>putquick "PRIVMSG $towhom :$text" <br>} <br><br>putlog "!nickinfo and !chaninfo script loaded by iamdeath."</div></blockquote><br>I think it should now msg nickname, try it out and let me know. As far as /whois I don't know about it I will read it understand it and then if I get it I will write on it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Mon Apr 30, 2007 12:54 pm</p><hr />
]]></content>
	</entry>
	</feed>
