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

	<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>2004-05-23T02:12:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-05-23T02:12:48-04:00</updated>

		<published>2004-05-23T02:12:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36539#p36539</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36539#p36539"/>
		<title type="html"><![CDATA[problem with nick2hand from chanlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36539#p36539"><![CDATA[
And nothing is getting sent to the channel upon someone parting it?<br>Have to ask, are you sure the script is being loaded?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun May 23, 2004 2:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dedan]]></name></author>
		<updated>2004-05-23T01:42:22-04:00</updated>

		<published>2004-05-23T01:42:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36538#p36538</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36538#p36538"/>
		<title type="html"><![CDATA[problem with nick2hand from chanlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36538#p36538"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind part -|- * part:ck proc part:ck {nick uhost handle channel msg} {   global botnick   set Masters 0   set Opers 0   set friends 0   set users [chanlist $channel]   foreach user $users {     if {$user == $botnick} {continue}     set hand [nick2hand $user]     if {($hand == "") || ($hand == "*")} {       continue     } elseif {[matchattr $hand m]} {       incr Masters 1     } elseif {[matchattr $hand o]} {       incr Opers 1     } elseif {[matchattr $hand f]} {       incr friends 1     }   }    putquick "PRIVMSG $channel : Masters\: $Masters Opers\: $Opers friends\: $friends "} </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3472">Dedan</a> — Sun May 23, 2004 1:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-05-20T13:53:53-04:00</updated>

		<published>2004-05-20T13:53:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36476#p36476</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36476#p36476"/>
		<title type="html"><![CDATA[problem with nick2hand from chanlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36476#p36476"><![CDATA[
Then you need to post your entire proc, including the posting...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Thu May 20, 2004 1:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dedan]]></name></author>
		<updated>2004-05-20T09:46:46-04:00</updated>

		<published>2004-05-20T09:46:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36472#p36472</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36472#p36472"/>
		<title type="html"><![CDATA[problem with nick2hand from chanlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36472#p36472"><![CDATA[
i still have the same problem when i use<br>"*" in the bind  .. no "s<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3472">Dedan</a> — Thu May 20, 2004 9:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-05-16T05:32:32-04:00</updated>

		<published>2004-05-16T05:32:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36373#p36373</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36373#p36373"/>
		<title type="html"><![CDATA[problem with nick2hand from chanlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36373#p36373"><![CDATA[
It could be that the bot is seeing different caps for the channel mask, which would result in the proc not being called...<br><br>use * as the mask for the binding, and do a case insensitive comparison inside the proc itself...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun May 16, 2004 5:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dedan]]></name></author>
		<updated>2004-05-16T03:16:24-04:00</updated>

		<published>2004-05-16T03:16:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36372#p36372</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36372#p36372"/>
		<title type="html"><![CDATA[problem with nick2hand from chanlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36372#p36372"><![CDATA[
i am getting no errors but nothing is happening  ...<br>any ideas?<br><div class="codebox"><p>Code: </p><pre><code>bind part -|- "#myChannel *" part:ckproc part:ck {nick uhost handle channel msg} {  global botnick  set Masters 0  set Opers 0  set friends 0  set users [chanlist $channel]  foreach user $users {    if {$user == $botnick} {continue}    set hand [nick2hand $user]    if {($hand == "") || ($hand == "*")} {      continue    } elseif {[matchattr $hand m]} {      incr Masters 1    } elseif {[matchattr $hand o]} {      incr Opers 1    } elseif {[matchattr $hand f]} {      incr friends 1    }   }  # post stuff}</code></pre></div>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3472">Dedan</a> — Sun May 16, 2004 3:16 am</p><hr />
]]></content>
	</entry>
	</feed>
