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

	<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>2018-03-01T15:56:02-04:00</updated>

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

		<entry>
		<author><name><![CDATA[mrleaW]]></name></author>
		<updated>2018-03-01T15:56:02-04:00</updated>

		<published>2018-03-01T15:56:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106714#p106714</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106714#p106714"/>
		<title type="html"><![CDATA[[pub_myaccess]: can't read &quot;out&quot;: no such variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106714#p106714"><![CDATA[
it works ! thanks alot by now my users can see where they have access.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  Thanks to all!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12735">mrleaW</a> — Thu Mar 01, 2018 3:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2018-03-01T09:04:16-04:00</updated>

		<published>2018-03-01T09:04:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106713#p106713</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106713#p106713"/>
		<title type="html"><![CDATA[[pub_myaccess]: can't read &quot;out&quot;: no such variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106713#p106713"><![CDATA[
Thanks Caesar. Fixed above.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Thu Mar 01, 2018 9:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2018-03-01T01:54:51-04:00</updated>

		<published>2018-03-01T01:54:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106712#p106712</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106712#p106712"/>
		<title type="html"><![CDATA[[pub_myaccess]: can't read &quot;out&quot;: no such variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106712#p106712"><![CDATA[
Psst! The pub bind is missing the <em class="text-italics">command</em>. <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> — Thu Mar 01, 2018 1:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2018-03-01T08:56:24-04:00</updated>

		<published>2018-02-28T14:08:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106709#p106709</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106709#p106709"/>
		<title type="html"><![CDATA[[pub_myaccess]: can't read &quot;out&quot;: no such variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106709#p106709"><![CDATA[
Try this slightly modified version of that proc and see what you get...<div class="codebox"><p>Code: </p><pre><code>bind pub o|o !access pub_myaccessproc pub_myaccess {nick uhost hand chan arg} { set thehand [lindex [split [string trim $arg]] 0] if {$thehand eq ""} {  set thehand $hand  } if {![validuser $thehand]} {   puthelp "notice $nick :Invalid handle: $thehand"   return 0 } foreach c [channels] {   if {[set cinf [getchaninfo $thehand $c]] ne ""} {  set cinf " - $cinf"  }   if {[matchattr $thehand -|N $c]} {  lappend out "${c}:Owner$cinf"   } elseif {[matchattr $thehand -|C $c]} {  lappend out "${c}:Master$cinf"   } elseif {[matchattr $thehand -|M $c]} {  lappend out "${c}:Op$cinf"   } elseif {[matchattr $thehand -|O $c]} {  lappend out "${c}:Peon$cinf"   } elseif {[matchattr $thehand -|P $c]} {  lappend out "${c}:Friend$cinf"  } } if {[info exists out]} {   puthelp "notice $nick :Access list for \002$thehand\002."   foreach line $out {  puthelp "notice $nick :$line  } } else {  puthelp "notice $nick :No custom channel flags for \002$thehand\002."  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Wed Feb 28, 2018 2:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mrleaW]]></name></author>
		<updated>2018-02-25T17:39:25-04:00</updated>

		<published>2018-02-14T10:05:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106682#p106682</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106682#p106682"/>
		<title type="html"><![CDATA[[pub_myaccess]: can't read &quot;out&quot;: no such variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106682#p106682"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub o|o pub_myaccessproc pub_myaccess {nick uhost hand chan arg} { set thehand [lindex $arg 0] if {$thehand == ""} {set thehand $hand} foreach c [channels] {  if {[matchattr $thehand -|N $chan] == 1} {lappend out [join "${c}:Owner [getchaninfo $thehand $chan]" " "]}  if {[matchattr $thehand -|C $chan] == 1 &amp;&amp; [matchattr $thehand -|N $chan] != 1} {lappend out [join "${c}:Master [getchaninfo $thehand $chan]" " "]}  if {[matchattr $thehand -|M $chan] == 1 &amp;&amp; [matchattr $thehand -|C $chan] != 1 &amp;&amp; [matchattr $thehand -|n $chan] != 1} {lappend out [join "${c}:Op [getchaninfo $thehand $chan]" " "]}  if {[matchattr $thehand -|O $chan] == 1 &amp;&amp; [matchattr $thehand -|M $chan] != 1 &amp;&amp; [matchattr $thehand -|m $chan] != 1 &amp;&amp; [matchattr $thehand -|N $chan] != 1} {lappend out [join "${c}:Peon [getchaninfo $thehand $chan]" " "]}  if {[matchattr $thehand -|P $chan] == 1 &amp;&amp; [matchattr $thehand -|O $chan] != 1 &amp;&amp; [matchattr $thehand -|o $chan] != 1 &amp;&amp; [matchattr $thehand -|C $chan] != 1 &amp;&amp; [matchattr $thehand -|N $chan] != 1} {lappend out [join "${c}:Friend [getchaninfo $hand $chan]" " "]}  }  if {$out == ""} {set $out "None."}  notice $nick "Access list for \002$thehand\002."  foreach line $out {   notice $nick "[split $line " "]"  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12735">mrleaW</a> — Wed Feb 14, 2018 10:05 am</p><hr />
]]></content>
	</entry>
	</feed>
