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

	<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>2004-08-26T21:13:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-08-26T21:13:36-04:00</updated>

		<published>2004-08-26T21:13:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40246#p40246</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40246#p40246"/>
		<title type="html"><![CDATA[Looking for protection Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40246#p40246"><![CDATA[
As a side note: non-permanent owners can be removed via DCC Chat by permanent owners (those <em class="text-italics">defined</em> in the "set owner" variable) and/or have their flags manipulated. Those defined cannot be "fiddled" with by any other bot user.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Thu Aug 26, 2004 9:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-26T21:01:56-04:00</updated>

		<published>2004-08-26T21:01:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40244#p40244</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40244#p40244"/>
		<title type="html"><![CDATA[Looking for protection Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40244#p40244"><![CDATA[
Hmm.. maybe I am not sure.<br>Well yeah it checks the +n flag in the ispermowner proc and after that which I didn't took into notice it does a list search of a list named owners in which it tries to find the hand if it exists in the list.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> <br><br>So I guess, maybe yeah permowners need to have their nick added in the .conf file under the variable set owner "blabla".  <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=4875">awyeah</a> — Thu Aug 26, 2004 9:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-08-26T20:51:00-04:00</updated>

		<published>2004-08-26T20:51:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40242#p40242</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40242#p40242"/>
		<title type="html"><![CDATA[Looking for protection Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40242#p40242"><![CDATA[
owner and permowner is not the same.. in adition to have the +n flag, perm owners are also added in the config file, with the set owner var.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Thu Aug 26, 2004 8:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-26T20:35:15-04:00</updated>

		<published>2004-08-26T20:35:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40238#p40238</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40238#p40238"/>
		<title type="html"><![CDATA[Looking for protection Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40238#p40238"><![CDATA[
Actually both are the same:<br><br>if {([matchattr $hand n])} #if the given handle is a permanent owner<br>ispermowner &lt;handle&gt; #if the given handle is a permanent owner<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Aug 26, 2004 8:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2004-08-26T14:44:16-04:00</updated>

		<published>2004-08-26T14:44:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40227#p40227</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40227#p40227"/>
		<title type="html"><![CDATA[Re: Looking for protection Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40227#p40227"><![CDATA[
<blockquote class="uncited"><div>I'm Looking for script that provide this things: I need some protection flag for example +P , if permanent owner set this flag for user, then no one +n +m can't change flags/hosts/.-user on this user  record. If anyone have such script or know any smilar scripts, please let me know !</div></blockquote>This variable is included in the <em class="text-italics">Alltools.tcl</em>, which is distributed with every eggdrop:<br><br><strong class="text-strong">ispermowner &lt;handle&gt;</strong><br>   <em class="text-italics">if the given handle is a permanent owner, return 1<br>   else return 0</em><br><div class="codebox"><p>Code: </p><pre><code>proc ispermowner {hand} {  global owner  regsub -all -- , [string tolower $owner] "" owners  if {([matchattr $hand n]) &amp;&amp; \      ([lsearch -exact $owners [string tolower $hand]] != -1)} then {    return 1  }  return 0}</code></pre></div><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> This variable kicks ass.  'Nuff said. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Thu Aug 26, 2004 2:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Airwave]]></name></author>
		<updated>2004-08-26T11:51:38-04:00</updated>

		<published>2004-08-26T11:51:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40219#p40219</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40219#p40219"/>
		<title type="html"><![CDATA[Looking for protection Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40219#p40219"><![CDATA[
gh...  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused">  yes  i mean masters only... it's my mistake <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> +n is +n  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3540">Airwave</a> — Thu Aug 26, 2004 11:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-23T00:47:50-04:00</updated>

		<published>2004-08-23T00:47:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40040#p40040</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40040#p40040"/>
		<title type="html"><![CDATA[Re: Looking for protection Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40040#p40040"><![CDATA[
<blockquote class="uncited"><div>I'm Looking for script that provide this things: I need some protection flag for example +P , if permanent owner set this flag for user, then no one +n +m can't change flags/hosts/.-user on this user  record. If anyone have such script or know any smilar scripts, please let me know !</div></blockquote>As you might know:<br>+P = +n (permanent owner)<br><br>So, +n == +n will always be true and you cannot make it NOT change flags/hosts, as +n is the highest access level in the bot and it has to be like that.<br><br>For +m maybe you can do, but I am not currently sure.<br>The best you can add those users to a lesser number of flags or create your own custom flags if you want specific user level access and link those flags into custom tcl scripts, so they only work on specific flags.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Aug 23, 2004 12:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Airwave]]></name></author>
		<updated>2004-08-22T07:40:12-04:00</updated>

		<published>2004-08-22T07:40:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39993#p39993</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39993#p39993"/>
		<title type="html"><![CDATA[Looking for protection Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39993#p39993"><![CDATA[
I'm Looking for script that provide this things: I need some protection flag for example +P , if permanent owner set this flag for user, then no one +n +m can't change flags/hosts/.-user on this user  record. If anyone have such script or know any smilar scripts, please let me know !<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3540">Airwave</a> — Sun Aug 22, 2004 7:40 am</p><hr />
]]></content>
	</entry>
	</feed>
