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

	<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>2001-09-28T12:21:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-09-28T12:21:00-04:00</updated>

		<published>2001-09-28T12:21:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97#p97</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97#p97"/>
		<title type="html"><![CDATA[bind chon problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97#p97"><![CDATA[
Im trying to write a script, that ask a second password, when connecting to partyline and when user flags are m or n<br>please help me my proc adminchk always never stop<br>###########<br>bind chon - * adminchk<br><br>proc adminchk {hand idx} {<br>if {[matchattr $hand n] == "1" } {<br>      putidx $idx "Admin check, please enter your code" ; control $idx adminpass<br>} elseif {[matchattr $hand m] == "1" } {<br>      putidx $idx "Admin check, please enter your code" ; control $idx adminpass<br>} else {<br>onpartylinejoin [idx2hand $idx] $idx;<br>}<br>}<br><br>proc adminpass {idx password} {<br> global nick<br> if {$password == ""} {; return 0 }<br> if {[encrypt $password $password]!= "tc6vV.oBehV1gmLeU/qMK8v."} { <br>    putidx $idx "wrong password, Access Denied!" <br>    dccbroadcast "ACCESS DENIED to [idx2hand $idx] , trying to admin"<br>    killdcc $idx<br>    return 1<br> }<br> onpartylinejoin [idx2hand $idx] $idx<br> return 1<br>}<br><br>proc onpartylinejoin {hand idx} {<br>global nick botnick botnet_version botnet_id thehand<br>  set theidx $idx<br>  set thehand $hand<br>  if {[matchattr $thehand n]} {<br>        putdcc $theidx "${logo}  <strong class="text-strong">*<strong class="text-strong"> Your Level is Owner"<br>        dccbroadcast "${logo} [idx2hand $idx] is Owner  --&gt; ${botnick}"<br>  } elseif {[matchattr $thehand m]} {<br>  putdcc $theidx "${logo}  <strong class="text-strong">*<strong class="text-strong"> Your Level is Master"<br>        dccbroadcast "${logo} [idx2hand $idx] is Master  --&gt; ${botnick}"<br>  } elseif {[matchattr $thehand o]} {<br>   putdcc $theidx "${logo}  <strong class="text-strong">*<strong class="text-strong"> Your Level is Operator:"<br>        dccbroadcast "${logo} [idx2hand $idx] is Operator  --&gt; ${botnick}"<br>  } else {<br>   putdcc $theidx "${logo}  <strong class="text-strong">*<strong class="text-strong"> Your Level is Guest:"<br>        dccbroadcast "${logo} [idx2hand $idx] is Guest  --&gt; ${botnick}"<br>  }<br>}<br><br>proc b {} {<br>return 02<br>}<br><br></strong></strong></strong></strong></strong></strong></strong></strong><p>Statistics: Posted by Guest — Fri Sep 28, 2001 12:21 pm</p><hr />
]]></content>
	</entry>
	</feed>
