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

	<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-02-05T10:34:19-04:00</updated>

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

		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-02-05T10:34:19-04:00</updated>

		<published>2005-02-05T10:34:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46279#p46279</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46279#p46279"/>
		<title type="html"><![CDATA[verify if user(in argument) have flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46279#p46279"><![CDATA[
What about channel flags ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Sat Feb 05, 2005 10:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2005-02-05T03:02:19-04:00</updated>

		<published>2005-02-05T03:02:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46273#p46273</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46273#p46273"/>
		<title type="html"><![CDATA[verify if user(in argument) have flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46273#p46273"><![CDATA[
I would suggest using this instead:<br><div class="codebox"><p>Code: </p><pre><code>bind pub o !hasflag pub:hasflagproc pub:hasflag {nick uhost hand chan text} {  if {[llength $text] &lt; 2} {    putserv "NOTICE $nick :Usage: !hasflag &lt;user&gt; &lt;flag&gt;"    return  }  set vhandle [nick2hand [set user [lindex [split $text] 0]]]  if {![validuser $user]} {    putserv "NOTICE $nick :User $user is not a known user to me."    return 0  }    if {[matchattr $user [set flag [lindex [split $text] 1]]]} {      putserv "NOTICE $nick :User $user has $flag flag."      } else {      putserv "NOTICE $nick :User $user dosen't have $flag flag."    }  }} </code></pre></div>Else the person would have to have the exact same nickname as his handle is if i'm not mistaken, now, it will find him by hand :p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Sat Feb 05, 2005 3:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2005-02-04T16:56:17-04:00</updated>

		<published>2005-02-04T16:56:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46266#p46266</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46266#p46266"/>
		<title type="html"><![CDATA[verify if user(in argument) have flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46266#p46266"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub o !hasflag pub:hasflagproc pub:hasflag {nick uhost hand chan text} {  if {[llength $text] &lt; 2} {    putserv "NOTICE $nick :Usage: !hasflag &lt;user&gt; &lt;flag&gt;"    return  }  if {[validuser [set user [lindex [split $text] 0]]]} {    if {[matchattr $user [set flag [lindex [split $text] 1]]]} {      putserv "NOTICE $nick :User $user has $flag flag."      } else {      putserv "NOTICE $nick :User $user dosen't have $flag flag."    }    } else {    putserv "NOTICE $nick :User $user is not a known user to me."  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Feb 04, 2005 4:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[HecKel]]></name></author>
		<updated>2005-02-04T16:26:52-04:00</updated>

		<published>2005-02-04T16:26:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46264#p46264</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46264#p46264"/>
		<title type="html"><![CDATA[verify if user(in argument) have flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46264#p46264"><![CDATA[
I want to verify if a user have one flag with a public comand like this:<br><div class="codebox"><p>Code: </p><pre><code>!haveflag user1 f</code></pre></div>and the egg return something like true, or false.<br><br>tnks, HecKel<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5906">HecKel</a> — Fri Feb 04, 2005 4:26 pm</p><hr />
]]></content>
	</entry>
	</feed>
