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

	<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>2002-06-17T08:56:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-06-17T08:56:00-04:00</updated>

		<published>2002-06-17T08:56:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8083#p8083</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8083#p8083"/>
		<title type="html"><![CDATA[need help with flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8083#p8083"><![CDATA[
As for the bind example.<blockquote class="uncited"><div>bind msg o|o command proc</div></blockquote>This will trigger if the user flags meets the following conditions.<br><ul><li>The user has channel +o, the user does not have global +o</li><li>The user has global +o, the user does not have channel +o</li><li>The user has both channel and global +o</li></ul>And as expected, it does not trigger if they have neither.<br><br>Here are other ways of doiung the bind<br><blockquote class="uncited"><div>bind msg o command proc</div></blockquote>Trigger on global +o but not channel +o<br>Trigger on global and channel +o<br><blockquote class="uncited"><div>bind msg |o command proc</div></blockquote>Trigger on channal +o but not global +o<br>Trigger on channel and glocal +o<br><blockquote class="uncited"><div>bind msg o&amp;o command proc</div></blockquote>Triiger only if user has both channel and global +o.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Jun 17, 2002 8:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-06-15T22:28:00-04:00</updated>

		<published>2002-06-15T22:28:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8041#p8041</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8041#p8041"/>
		<title type="html"><![CDATA[need help with flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8041#p8041"><![CDATA[
ack, no! I would never have thought of that either, thank you!<p>Statistics: Posted by Guest — Sat Jun 15, 2002 10:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2002-06-15T22:01:00-04:00</updated>

		<published>2002-06-15T22:01:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8040#p8040</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8040#p8040"/>
		<title type="html"><![CDATA[need help with flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8040#p8040"><![CDATA[
you sure that the bot actually recognises them as that user (ie, does their hostmask match whats in their userrecord)?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Sat Jun 15, 2002 10:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-06-15T21:28:00-04:00</updated>

		<published>2002-06-15T21:28:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8039#p8039</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8039#p8039"/>
		<title type="html"><![CDATA[need help with flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8039#p8039"><![CDATA[
I guess I just wanted to make sure that I understand how the flags work. I've set them using .chattr user +/-flag channel. I did .whois user and I can see that the user has both +o globally and for the channel...so, for a bind that looks like this:<br><br>bind msg o|o command proc<br><br>the user with the flags set should be able to /msg the bot with that command and get back what the procedure is supposed to return, right? and other users who the bot doesn't recognize or who don't have those flags should get nothing, right?<br><br>If so, then I can't figure out what is wrong because the user with the +o flags doesn't get anything out of it with it set like that, but if i set the bind like so:<br><br>bind msg - command proc<br><br>it works fine. <p>Statistics: Posted by Guest — Sat Jun 15, 2002 9:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-06-15T13:45:00-04:00</updated>

		<published>2002-06-15T13:45:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8023#p8023</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8023#p8023"/>
		<title type="html"><![CDATA[need help with flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8023#p8023"><![CDATA[
Ok, but should I take it to the Tcl forum?<p>Statistics: Posted by Guest — Sat Jun 15, 2002 1:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2002-06-15T13:03:00-04:00</updated>

		<published>2002-06-15T13:03:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8017#p8017</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8017#p8017"/>
		<title type="html"><![CDATA[need help with flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8017#p8017"><![CDATA[
Give an short example of a bind where the flags dosen't work and someone will give you an answer.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Jun 15, 2002 1:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-06-14T22:24:00-04:00</updated>

		<published>2002-06-14T22:24:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7987#p7987</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7987#p7987"/>
		<title type="html"><![CDATA[need help with flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7987#p7987"><![CDATA[
I'm sorry if this is in the wrong forum, I'm not sure if it applies here or in the Tcl one...<br><br>I've got some Tcl scripts (that others wrote since I'm really new to Tcl) that I'm trying to get to work with my bot, but I'm having problems with flags. For some binds, if I set them to - (everyone) the procedure that's called will work, in other cases it won't. But in every case, if there are any other flags set, it won't work period. I've made sure that global and channel flags are set in the bot, and .whois &lt;user&gt; confirms it, but just can't get these scripts to work properly. <br><br>The shell I run my bot on has version 8.0 of Tcl and is running freebsd. Just to be sure it wasn't some problem there, I started another bot from my machine here where I have Tcl 8.3.2 and linux...but it's still having the same problems.<br><br>Does anyone have any ideas why I'm having this problem with the flags and the scripts? I've read all the documentation I could get my hands on, but I guess I'm still pretty green to this eggdrop stuff <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile">. Any help would be appreciated, thanks. <br><br><p>Statistics: Posted by Guest — Fri Jun 14, 2002 10:24 pm</p><hr />
]]></content>
	</entry>
	</feed>
