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

	<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>2005-07-28T11:12:12-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2005-07-28T11:12:12-04:00</updated>

		<published>2005-07-28T11:12:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53420#p53420</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53420#p53420"/>
		<title type="html"><![CDATA[Raw]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53420#p53420"><![CDATA[
the first time you type !reg?<br><br>logical: you set identifi to "no", identify($_nick) isn't set, so you don't match your condition to set it to yes.<br><br>You'd better try to split your procs, or have a correct algorythm.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Jul 28, 2005 11:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ranny]]></name></author>
		<updated>2005-07-28T05:00:12-04:00</updated>

		<published>2005-07-28T05:00:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53415#p53415</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53415#p53415"/>
		<title type="html"><![CDATA[Raw]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53415#p53415"><![CDATA[
hello,<br><br>Thanks Demond, now it's good.<br><br>Other problem, with <div class="codebox"><p>Code: </p><pre><code>bind pub - !reg procregister proc procregister {nick host hand chan arg} {  global identify  set _nick [lindex $arg 0]  if ![string length $_nick] { set _nick $nick } set identifi "no" putserv "whois $_nick" if {[info exists identify($_nick)] &amp;&amp; $identify($_nick) == "is a registered nick"} {   set identifi "yes"  }  putserv "privmsg $chan :$identifi" }bind raw - 307 identify    proc identify {from key arg} { global identify set nickidentify [lindex [split $arg] 1] set identify($nickidentify) [lindex [split $arg :] 1] return 0 }</code></pre></div>But the first time, the egg writes always "no" ??<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6386">ranny</a> — Thu Jul 28, 2005 5:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-26T21:53:41-04:00</updated>

		<published>2005-07-26T21:53:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53357#p53357</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53357#p53357"/>
		<title type="html"><![CDATA[Raw]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53357#p53357"><![CDATA[
this script is totally wrong<br><br>you need to obtain the channels some nick is on by issuing WHOIS in one proc and catching server's reply in another<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Jul 26, 2005 9:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ranny]]></name></author>
		<updated>2005-07-26T12:23:33-04:00</updated>

		<published>2005-07-26T12:23:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53325#p53325</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53325#p53325"/>
		<title type="html"><![CDATA[Raw]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53325#p53325"><![CDATA[
Hello,<br><br>I've this script <div class="codebox"><p>Code: </p><pre><code>proc whoisscript {nick host hand chan arg} {global bibo set anick [lindex $arg 0]putserv "whois $anick"putserv "whois $nick"putserv "notice $nick :\0031,03#######\037whois  $anick\037#######\0031,03" set ::chanl $nickforeach chana $bibo($nick) { set b [lindex [split $chana #] 1]regsub -all {[#+%@&amp;~]} $bibo($anick) "" chanl    if {[lsearch -exact $chanl  $b] != -1} {       lappend comchans #$b    } }putserv "notice $nick :\0031,03$comchans\0031,03"}</code></pre></div>But the firs time $comchans don't exist because==&gt;can't read "bibo(liloto)": no such element in array.<br><br>But the second time the egg writes the list of the common elements(chan).<br><br>How I can make so that he writes at the first order??<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6386">ranny</a> — Tue Jul 26, 2005 12:23 pm</p><hr />
]]></content>
	</entry>
	</feed>
