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

	<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-07-29T08:45:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-07-29T08:45:20-04:00</updated>

		<published>2003-07-29T08:45:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24165#p24165</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24165#p24165"/>
		<title type="html"><![CDATA[restricting access to certain DCC commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24165#p24165"><![CDATA[
<blockquote class="uncited"><div>anyone got any tips on keying channels? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"></div></blockquote>You'd have to rewrite the .chat command to require a password and use a 'chon' bind to catch newcomers. Possibly prompting them (using 'control') for a password if [getchan their_idx] is a password protected chan. (if they fail you could dump them back to some default unprotected chan (using 'setchan') or 'boot' them.)<br><br>Keep the channels/passwords in an array (element names being the channel number and the value an encrypted version of the password ('encpass')) and use 'info exists that_array(channel)' to determine if a channel is protected by a password.<br><br>Or you could forget all that and use a 'chjn' bind to prompt for passwords on join.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Jul 29, 2003 8:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LtPhil]]></name></author>
		<updated>2003-07-29T08:29:07-04:00</updated>

		<published>2003-07-29T08:29:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24164#p24164</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24164#p24164"/>
		<title type="html"><![CDATA[restricting access to certain DCC commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24164#p24164"><![CDATA[
hmmm... that worked <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>when i tried <strong class="text-strong">.binds dcc *who*</strong>, and other variants on that, it wouldn't show them.<br><br>thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>now that i've got those commands restricted, anyone got any tips on keying channels? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3577">LtPhil</a> — Tue Jul 29, 2003 8:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-07-29T08:20:15-04:00</updated>

		<published>2003-07-29T08:20:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24162#p24162</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24162#p24162"/>
		<title type="html"><![CDATA[restricting access to certain DCC commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24162#p24162"><![CDATA[
.binds dcc all<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Jul 29, 2003 8:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LtPhil]]></name></author>
		<updated>2003-07-29T02:56:35-04:00</updated>

		<published>2003-07-29T02:56:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24147#p24147</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24147#p24147"/>
		<title type="html"><![CDATA[restricting access to certain DCC commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24147#p24147"><![CDATA[
hello... i can't figure out what the binds are for the <strong class="text-strong">.whom</strong>, <strong class="text-strong">.who</strong>, and <strong class="text-strong">.whois</strong>.<br><br>what i'm trying to do is either<br>a) restrict access to these commands, so only global masters/owners can use them, or<br>b) rewrite them so they do not show what console channel a user is on<br><br>what would be best, actually, is if i could rebind <strong class="text-strong">.chat</strong> so you have to use a key to enter certain channels (i wouldn't mind if the keys were hard-coded), i.e. you'd need to type <strong class="text-strong">.chat 200 blah</strong> to join channel 200 if the key for that channel was "blah", and if you entered an incorrect (or no key) it would tell the user "sorry, you did not enter the correct key for this channel" or something to that effect.<br><br>any thoughts/ideas/etc?<br><br>i'd rather not recompile my bot, but if that's what it takes... *shrug*<br><br>if i do need to change something in source and recompile, just tell me <em class="text-italics">exactly</em> what needs changing where, so i don't FUBAR something and get stuck with no bot <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3577">LtPhil</a> — Tue Jul 29, 2003 2:56 am</p><hr />
]]></content>
	</entry>
	</feed>
