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

	<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-12-26T10:29:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-12-26T10:29:36-04:00</updated>

		<published>2003-12-26T10:29:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31804#p31804</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31804#p31804"/>
		<title type="html"><![CDATA[.boot tcl vs. onwers and vs. permowners]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31804#p31804"><![CDATA[
hiez <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> Merry Christmas and Happy New Year (in advance)  2 all<br><br>I want a tcl with which I can .boot proba .. but not to be able to .boot StelxBG ... where proba is a user added with +n flag .. and StelxBG is perm. owner <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br><br>&lt; .boot proba<br>&gt; You can't boot a bot owner.<br><br>&lt; .boot StelxBG<br>&gt; You cannot use this command vs. perm. owners<br><br>proba +n<br>StelxBG +n + .set owners "StelxBG"<br><br>[c0d3]<br>unbind dcc - boot *dcc:boot<br><br>bind dcc m boot dcc:boot<br><br>proc dcc:boot {hand idx arg} {<br>  set arg [split $arg]<br><br>  if {[llength $arg] != 0} {<br>    set target [lindex [split [lindex $arg 0] @] 0]<br>    if {$target != "" &amp;&amp; [ispermowner $target]} {<br>      putidx $idx "You cannot use this command vs perm owners!"<br>      return 1<br>    }<br>  }<br>  *dcc:boot $hand $idx $arg<br>}<br><br>## from alltools.tcl<br>proc ispermowner {hand} {<br>  global owner<br><br>  regsub -all -- , [string tolower $owner] "" owners<br>  if {([matchattr $hand n]) &amp;&amp; \<br>      ([lsearch -exact $owners [string tolower $hand]] != -1)} then {<br>    return 1<br>  }<br>  return 0<br>}<br>[c0d3]<p>Statistics: Posted by Guest — Fri Dec 26, 2003 10:29 am</p><hr />
]]></content>
	</entry>
	</feed>
