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

	<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-11-01T15:04:26-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2002-11-01T15:04:26-04:00</updated>

		<published>2002-11-01T15:04:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12695#p12695</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12695#p12695"/>
		<title type="html"><![CDATA[Bind console flag to masters only]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12695#p12695"><![CDATA[
I have seen an tcl that used the bind filt to reduce the access to some commands of the bot users on the party line. Here is an example of this..<br><br>set allowed "You" <br><br>bind filt - ".+host" +host:check <br><br># +host<br>proc +host:check {idx args} { <br>global allowed <br>set usernick [idx2hand $idx] <br>if {[lindex $args 1] == ""} { <br>set icmd [lindex $args 0] <br>set args "$icmd " <br>} <br>if {[lsearch -exact [string tolower $allowed] [string tolower $usernick]] == -1} { <br>putdcc $idx "What?  You need '.help'" <br>} else { <br>return $args <br>}<br>}<br><br>Hope this helps..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Nov 01, 2002 3:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-11-01T05:43:54-04:00</updated>

		<published>2002-11-01T05:43:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12663#p12663</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12663#p12663"/>
		<title type="html"><![CDATA[Bind console flag to masters only]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12663#p12663"><![CDATA[
You can simply start using flags, that don't exist, without any hastle.<br><br>You would have to use eggdrops flag matching system, to test if a user has the required flags, to perform somthing.<br><br>One method is to do this int he bind command<br><blockquote class="uncited"><div>bind msg o|oD trigger command</div></blockquote>Global ops, channel ops and +D channel uysers can use this command.<br><br>The other way is to do in script matching, using the "matchattr" command.<br><br>Only users with channel or global +m can change a users flags, with the .chattr command.<br><br>channel +m can only set the channel glags, and global can set any.<br><br>It all depends how you want to do things.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Nov 01, 2002 5:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nik]]></name></author>
		<updated>2002-10-31T18:50:41-04:00</updated>

		<published>2002-10-31T18:50:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12650#p12650</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12650#p12650"/>
		<title type="html"><![CDATA[Bind console flag to masters only]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12650#p12650"><![CDATA[
Is it possible to bind a console flag so that only people with a certain flag can use it.<br>Like the console flag +m....can I bind it so that only masters (+m|+m) can set this and not ops (+o|+o), and if so, how do you do it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=763">Nik</a> — Thu Oct 31, 2002 6:50 pm</p><hr />
]]></content>
	</entry>
	</feed>
