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

	<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>2008-01-28T11:27:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[swi7ch]]></name></author>
		<updated>2008-01-28T11:27:10-04:00</updated>

		<published>2008-01-28T11:27:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80414#p80414</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80414#p80414"/>
		<title type="html"><![CDATA[!needadmin [Filled]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80414#p80414"><![CDATA[
Wow, it works! Thanks Guys!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9667">swi7ch</a> — Mon Jan 28, 2008 11:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2008-01-28T11:15:07-04:00</updated>

		<published>2008-01-28T11:15:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80412#p80412</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80412#p80412"/>
		<title type="html"><![CDATA[!needadmin [Filled]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80412#p80412"><![CDATA[
Find <div class="codebox"><p>Code: </p><pre><code>global admin</code></pre></div> and change it to <div class="codebox"><p>Code: </p><pre><code>global waffles</code></pre></div> And also probably should keep it to "waffles" <div class="codebox"><p>Code: </p><pre><code># triggerset waffeles(cmd) "!needadmin"# Admins listset waffles(list) "admin1 admin2 admin3"</code></pre></div> like <div class="codebox"><p>Code: </p><pre><code># triggerset waffles(cmd) "!needadmin"# Admins listset waffles(list) "admin1 admin2 admin3"</code></pre></div> since you have <div class="codebox"><p>Code: </p><pre><code>bind pub - $waffles(cmd) pub:needadmin</code></pre></div> <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=8130">TCL_no_TK</a> — Mon Jan 28, 2008 11:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[swi7ch]]></name></author>
		<updated>2008-01-28T10:52:28-04:00</updated>

		<published>2008-01-28T10:52:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80411#p80411</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80411#p80411"/>
		<title type="html"><![CDATA[!needadmin [Filled]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80411#p80411"><![CDATA[
So.. Like??<br><div class="codebox"><p>Code: </p><pre><code>#### triggerset waffeles(cmd) "!needadmin"# Admins listset waffles(list) "admin1 admin2 admin3"###bind pub - $waffles(cmd) pub:needadminproc pub:needadmin { nick host hand chan arg } {  global admin  set counter 0  foreach ad [split $waffles(list)] {     if {[onchan $ad $chan]} {         putquick "PRIVMSG $ad :\037$nick\017 is requesting some help "         incr counter     }  }  if {$counter == 0} {     putquick "PRIVMSG $chan :Sorry $nick ,can't find any admin online."  } else {     putquick "PRIVMSG $chan :$nick, your request has been sent to administration. Please wait."  }}</code></pre></div>even if i change it..<br><br> can't read "waffles(cmd)": no such element in array<br>    while executing<br>"bind pub - $waffles(cmd) pub:needadmin"<br>    (file "scripts/need.tcl" line 11)<br>    invoked from within<br>"source scripts/need.tcl"<br>    (file "*****.conf" line 159)<br>[08:59] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9667">swi7ch</a> — Mon Jan 28, 2008 10:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-01-28T08:54:27-04:00</updated>

		<published>2008-01-28T08:54:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80407#p80407</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80407#p80407"/>
		<title type="html"><![CDATA[!needadmin [Filled]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80407#p80407"><![CDATA[
"admin" is a reserved variable-name in eggdrop, so the name of that variable within the script needs to be changed into something different.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Jan 28, 2008 8:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[swi7ch]]></name></author>
		<updated>2008-01-28T04:40:51-04:00</updated>

		<published>2008-01-28T04:40:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80405#p80405</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80405#p80405"/>
		<title type="html"><![CDATA[Thank You]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80405#p80405"><![CDATA[
Looks good, but How do i load it haha??<br><br> Tcl error in file '&amp;&amp;&amp;&amp;.conf':<br> can't set "admin(cmd)": variable isn't array<br>    while executing<br>"set admin(cmd) "!needadmin""<br>    (file "scripts/needadmin.tcl" line 4)<br>    invoked from within<br>"source scripts/needadmin.tcl"<br>    (file "&amp;&amp;&amp;&amp;&amp;.conf" line 159)<br>[02:46] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)<br><br><br>Also, how would it know if a User was online or not? via.<br>  if {$counter == 0} {<br>     putquick "PRIVMSG $chan :Sorry $nick ,can't find any admin online." <br><br>Thanks so much, Just ran into that problem.. if u can help? or something maybe..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9667">swi7ch</a> — Mon Jan 28, 2008 4:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[w00f]]></name></author>
		<updated>2008-01-28T02:51:21-04:00</updated>

		<published>2008-01-28T02:51:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80404#p80404</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80404#p80404"/>
		<title type="html"><![CDATA[!needadmin [Filled]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80404#p80404"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>#### triggerset admin(cmd) "!needadmin"# Admins listset admin(list) "admin1 admin2 admin3"###bind pub - $admin(cmd) pub:needadminproc pub:needadmin { nick host hand chan arg } {  global admin  set counter 0  foreach ad [split $admin(list)] {     if {[onchan $ad $chan]} {         putquick "PRIVMSG $ad :\037$nick\017 is requesting some help "         incr counter     }  }  if {$counter == 0} {     putquick "PRIVMSG $chan :Sorry $nick ,can't find any admin online."  } else {     putquick "PRIVMSG $chan :$nick, your request has been sent to administration. Please wait."  }}</code></pre></div>something like this?<br>check if that helps you.<br><br>~w00f<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8264">w00f</a> — Mon Jan 28, 2008 2:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[swi7ch]]></name></author>
		<updated>2008-01-28T11:27:36-04:00</updated>

		<published>2008-01-28T01:51:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80403#p80403</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80403#p80403"/>
		<title type="html"><![CDATA[!needadmin [Filled]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80403#p80403"><![CDATA[
Hi, Ive looked on Google, and the TCL Archive, and found nothing. I know some codeing, but not a much as I would like to, maybe a lead in the right direction would help.<br><br>Decription:<br><br>Command= !needadmin<br><br>&lt;swi7ch&gt;!needadmin<br>&lt;bot&gt;Request Has Been Sent To Administration - Please Wait For A Replay<br><br>Thats would it would look like in the chan..<br>in the code. it would do..<br><br>/msg &lt;admin name here&gt; $nick is requesting help<br>/msg &lt;admin name here&gt; $nick is requesting help<br><br>Mutliple nicks..<br><br><br>If there is a tcl, and that can be modifed like a !cmd or a !help that would be much appreciated.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9667">swi7ch</a> — Mon Jan 28, 2008 1:51 am</p><hr />
]]></content>
	</entry>
	</feed>
