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

	<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-11-03T20:29:27-04:00</updated>

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

		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2004-11-03T20:29:27-04:00</updated>

		<published>2004-11-03T20:29:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42505#p42505</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42505#p42505"/>
		<title type="html"><![CDATA[Custom flag checking]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42505#p42505"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - .k pub:kproc pub:k { n uh h c a } {  set t [nick2hand [lindex [split $a] 0]]  if {[matchattr $t P|P $c] &amp;&amp; ![matchattr $h omn|omn $c]} {    ;# no kick    return  } elseif {[matchattr $t P|P $c] &amp;&amp; [matchattr $h omn|omn $c]} {    ;# kick    return  }  return}</code></pre></div>this works for me<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Wed Nov 03, 2004 8:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Weirdo]]></name></author>
		<updated>2004-11-03T18:23:54-04:00</updated>

		<published>2004-11-03T18:23:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42502#p42502</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42502#p42502"/>
		<title type="html"><![CDATA[Custom flag checking]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42502#p42502"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {[matchattr $nuke(hand) P $chan] == 1 &amp;&amp; [matchattr $hand omn $chan] == 0 } {puthelp "notice $nick :ACCESS IS DENIED - User has +Penis access level and is protected"putlog "nuke v5.2 failed"return 0 } {putlog "nuke v5.2 st1" }if {[matchattr $nuke(hand) flCyaomn $chan] == 1 &amp;&amp; ![matchattr $hand omn $chan] == 1 } { puthelp "notice $nick :I'm sorry, $nuke(nick) is more sexually attractive than you and i just cannot kick them!"return 0 }</code></pre></div>Essentially, i want P to be immune from kicking from everyone but "omn" level ops. At the moment, everyone can kick them. Which isnt right. i think its my logic is wrong. can anyone help?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1195">Weirdo</a> — Wed Nov 03, 2004 6:23 pm</p><hr />
]]></content>
	</entry>
	</feed>
