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

	<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>2003-11-15T03:35:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[z_one]]></name></author>
		<updated>2003-11-15T03:35:17-04:00</updated>

		<published>2003-11-15T03:35:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30022#p30022</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30022#p30022"/>
		<title type="html"><![CDATA[modified partyline access/restrictions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30022#p30022"><![CDATA[
Yep! My mistake, I forgot to use .tcl before the command  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"> <br>Anyway it's a relief to know it only works for owners (as I am the only owner).  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=698">z_one</a> — Sat Nov 15, 2003 3:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gumbydammit]]></name></author>
		<updated>2003-11-14T17:58:32-04:00</updated>

		<published>2003-11-14T17:58:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30010#p30010</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30010#p30010"/>
		<title type="html"><![CDATA[modified partyline access/restrictions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30010#p30010"><![CDATA[
you did .info  ( see .help info )<br>the command you stated is a .tcl command<br>so they need +n to use it, if it is even binded ( its not by default) and depending on your must-be-owner setting they may even need to be perm owner in the conf to use it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1870">gumbydammit</a> — Fri Nov 14, 2003 5:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[z_one]]></name></author>
		<updated>2003-11-14T17:03:19-04:00</updated>

		<published>2003-11-14T17:03:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30009#p30009</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30009#p30009"/>
		<title type="html"><![CDATA[modified partyline access/restrictions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30009#p30009"><![CDATA[
caesar, I was reviewing all eggdrop commands to see which ones I want to stop (using the code you showed me) and I found out this in the tricks file that ships with Eggdrop:<blockquote class="uncited"><div>Tcl has a command 'info body &lt;proc&gt;' that will list the contents of a  proc.</div></blockquote>Now, if I get this right it means that someone who has access to my bot's partyline can somehow display the code inside a procedure that I wrote and then steal it ?<br>If yes, how to stop this ?<br>I tried the command <strong class="text-strong">.info body myprocname</strong> and to my surprise, it said "your info is now myprocname" ! I must be doing something wrong here or using the wrong command<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=698">z_one</a> — Fri Nov 14, 2003 5:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-11-14T16:39:37-04:00</updated>

		<published>2003-11-14T16:39:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30008#p30008</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30008#p30008"/>
		<title type="html"><![CDATA[modified partyline access/restrictions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30008#p30008"><![CDATA[
Heh, you'r welcome. Feel free to change anything you want in it. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Nov 14, 2003 4:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[z_one]]></name></author>
		<updated>2003-11-14T16:16:32-04:00</updated>

		<published>2003-11-14T16:16:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30006#p30006</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30006#p30006"/>
		<title type="html"><![CDATA[modified partyline access/restrictions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30006#p30006"><![CDATA[
Caesar, done.<br>Works like charm. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Thanks a million.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=698">z_one</a> — Fri Nov 14, 2003 4:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-11-14T11:50:24-04:00</updated>

		<published>2003-11-14T11:50:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29998#p29998</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29998#p29998"/>
		<title type="html"><![CDATA[modified partyline access/restrictions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29998#p29998"><![CDATA[
In the code I've previously posted just add your handle in the allowed variable. Doing this only the handles that are added in the allowd variable can do the dcc commands you've binded.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Nov 14, 2003 11:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gumbydammit]]></name></author>
		<updated>2003-11-14T00:18:30-04:00</updated>

		<published>2003-11-14T00:18:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29966#p29966</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29966#p29966"/>
		<title type="html"><![CDATA[modified partyline access/restrictions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29966#p29966"><![CDATA[
unbind dcc lo|lo kick *dcc:kick<br>bind dcc n|n kick *dcc:kick<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1870">gumbydammit</a> — Fri Nov 14, 2003 12:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[z_one]]></name></author>
		<updated>2003-11-13T16:29:36-04:00</updated>

		<published>2003-11-13T16:29:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29961#p29961</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29961#p29961"/>
		<title type="html"><![CDATA[modified partyline access/restrictions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29961#p29961"><![CDATA[
user wrote: <blockquote class="uncited"><div>If you want to change the flag(s) required, just create the bind with different flags</div></blockquote>So if I bind <strong class="text-strong">.kick</strong> to the owner flag like that:<br><div class="codebox"><p>Code: </p><pre><code>bind filt n|n ".kick *" dcc:allow</code></pre></div> <br><br>It would only allow the owner to use .kick ? Do I have to unbind first then bind it to owners only ?<br><br>Thanks for everyone who has helped/is helping in this thread.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=698">z_one</a> — Thu Nov 13, 2003 4:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-11-13T16:08:47-04:00</updated>

		<published>2003-11-13T16:08:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29959#p29959</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29959#p29959"/>
		<title type="html"><![CDATA[modified partyline access/restrictions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29959#p29959"><![CDATA[
'unbind' is the way to go if you want to disable a command. If you want to change the flag(s) required, just create the bind with different flags. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Nov 13, 2003 4:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[z_one]]></name></author>
		<updated>2003-11-13T16:02:03-04:00</updated>

		<published>2003-11-13T16:02:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29958#p29958</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29958#p29958"/>
		<title type="html"><![CDATA[modified partyline access/restrictions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29958#p29958"><![CDATA[
caesar, say I want to control the <strong class="text-strong">.kick</strong> to stop it (just like u can stop the default eggdrop flud actions if you make the proc return 0).<br><br>I read the following about FILT <br><blockquote class="uncited"><div>FILT (stackable)<br>         bind filt &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;<br>         procname &lt;idx&gt; &lt;text&gt;<br><br>         Description: party line and file system users have their text sent<br>           through filt before being processed. If the proc returns a blank<br>           string, the text is considered parsed. Otherwise, the bot will use<br>           the text returned from the proc and continue parsing that</div></blockquote>So will the following code stop anyone from using <strong class="text-strong">.kick</strong>. If it doesn't then what would be the code to stop anyone from using a <strong class="text-strong">.kick</strong> from the partyline?<br><div class="codebox"><p>Code: </p><pre><code>bind filt - ".kick *" dcc:allow proc dcc:allow {idx args} {   return ""}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=698">z_one</a> — Thu Nov 13, 2003 4:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-11-11T17:07:42-04:00</updated>

		<published>2003-11-11T17:07:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29885#p29885</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29885#p29885"/>
		<title type="html"><![CDATA[modified partyline access/restrictions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29885#p29885"><![CDATA[
Test this:<div class="codebox"><p>Code: </p><pre><code># What users (theyr handle) to be allowed to use the commands?set allowed "bla foo bar" bind filt - ".dump *" dcc:allowbind filt - ".kick *" dcc:allowbind filt - ".+ban *" dcc:allowproc dcc:allow {idx args} {   global allowed   set usernick [idx2hand $idx]  if {[lindex $args 1] == ""} {     set icmd [lindex $args 0]    set args "$icmd "  }  if {[lsearch -exact [string tolower $allowed] [string tolower $usernick]] == -1} {    putdcc $idx "What? You need '.help'"    } else {    return $args  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Nov 11, 2003 5:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Rusher2K]]></name></author>
		<updated>2003-11-11T16:56:17-04:00</updated>

		<published>2003-11-11T16:56:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29881#p29881</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29881#p29881"/>
		<title type="html"><![CDATA[modified partyline access/restrictions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29881#p29881"><![CDATA[
Unbind the dcc command .op and add a new flag then wrote your own .op script that checks the flag you have added if the user has the flag its op him.<br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3034">Rusher2K</a> — Tue Nov 11, 2003 4:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[z_one]]></name></author>
		<updated>2003-11-11T16:33:59-04:00</updated>

		<published>2003-11-11T16:33:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29876#p29876</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29876#p29876"/>
		<title type="html"><![CDATA[modified partyline access/restrictions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29876#p29876"><![CDATA[
Hi,<br><br>  Is there a way to make someone have access to the partyline but forbid them from using and bot command such as .dump or .kick or .+ban  etc...<br>  I just want them to be able to use the .op command only<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=698">z_one</a> — Tue Nov 11, 2003 4:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
