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

	<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>2010-10-26T21:02:10-04:00</updated>

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

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-10-26T21:02:10-04:00</updated>

		<published>2010-10-26T21:02:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94876#p94876</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94876#p94876"/>
		<title type="html"><![CDATA[Block certain users from using certain public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94876#p94876"><![CDATA[
<blockquote class="uncited"><div>willyw: you got a point <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>thing is, that my bot uses plenty of tcls and some of them with multiple !triggers. I want to be able to stop a user for example from using !trigger1 but that user will still be able to use !trigger2, !trigger3 etc...</div></blockquote>Something like this, maybe:<br><br>bind pub f  "!trigger1" some_proc<br><br>Then, you set any user in your bot, with the +f flag, that you want to be able to use    !trigger1   to run    some_proc   .<br>Users without   +f   in your bot,  are stopped from using !trigger1 .<br>!trigger2 uses another bind, so would be unaffected by this.  If you need it, then you can adjust the flags for the bind for !trigger2 to whatever you want for that.  ... and so on.<br><br><br>Would something like that do what you want?<br><br><br>But again, without seeing the script(s),  we can only speak in generalities.<br><br><br>I hope this is helping.<br><br><br>( In the partyline,  send this:<br>.help whois<br>and you'll get a nice long list of the flags.   Examine it carefully, as this information might influence what you decide to use.   I just picked +f  for an example.<br>Also note that it says: <br> There are also 26 user-defined global flags (A-Z).<br>and <br> There are also 26 user-defined channel flags (A-Z).  )<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Oct 26, 2010 9:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2010-10-26T16:43:48-04:00</updated>

		<published>2010-10-26T16:43:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94875#p94875</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94875#p94875"/>
		<title type="html"><![CDATA[Block certain users from using certain public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94875#p94875"><![CDATA[
willyw: you got a point <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>thing is, that my bot uses plenty of tcls and some of them with multiple !triggers. I want to be able to stop a user for example from using !trigger1 but that user will still be able to use !trigger2, !trigger3 etc...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Tue Oct 26, 2010 4:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-10-26T14:50:38-04:00</updated>

		<published>2010-10-26T14:50:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94874#p94874</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94874#p94874"/>
		<title type="html"><![CDATA[Re: Block certain users from using certain public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94874#p94874"><![CDATA[
<blockquote class="uncited"><div>Is there a script that you can block some users from using <strong class="text-strong">some</strong> of the public triggers?</div></blockquote>When mentioning public triggers, what comes to mind is scripts that create public triggers.<br><br>So, what follows would be to modify that script(s),  so that those public triggers only work for certain users.   Just the other way  around, from what you've said.<br><br><br>(This is the first thing I've thought of... if there are better ideas, then hopefully someone else here will post and comment)<br><br><br>If you have a script to use as an example, perhaps it would be good if you could post that script here.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Oct 26, 2010 2:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2010-10-26T13:07:58-04:00</updated>

		<published>2010-10-26T13:07:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94873#p94873</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94873#p94873"/>
		<title type="html"><![CDATA[Block certain users from using certain public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94873#p94873"><![CDATA[
anyone ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Tue Oct 26, 2010 1:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2010-10-21T15:36:13-04:00</updated>

		<published>2010-10-21T15:36:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94824#p94824</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94824#p94824"/>
		<title type="html"><![CDATA[Block certain users from using certain public commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94824#p94824"><![CDATA[
Is there a script that you can block some users from using <strong class="text-strong">some</strong> of the public triggers?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Thu Oct 21, 2010 3:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
