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

	<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>2006-03-23T13:38:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-03-23T13:38:14-04:00</updated>

		<published>2006-03-23T13:38:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61325#p61325</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61325#p61325"/>
		<title type="html"><![CDATA[Bot should reop - Help with this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61325#p61325"><![CDATA[
Yes you are right.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Thu Mar 23, 2006 1:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-03-23T13:21:22-04:00</updated>

		<published>2006-03-23T13:21:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61323#p61323</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61323#p61323"/>
		<title type="html"><![CDATA[Bot should reop - Help with this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61323#p61323"><![CDATA[
Glad it worked. Also, something like this should work:<div class="codebox"><p>Code: </p><pre><code># check every how many seconds?set nhotime 30if {[timerexists needhop]==""} { utimer $nhotime needhop}setudef str need-halfopproc needhop {} { global botnick foreach chan [channels] {  if {![botishalfop $chan] &amp;&amp; [set nho [channel get $chan need-halfop]] != ""} {   eval $nho  } } utimer $::nhotime needhop}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Mar 23, 2006 1:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-03-23T10:58:10-04:00</updated>

		<published>2006-03-23T10:58:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61322#p61322</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61322#p61322"/>
		<title type="html"><![CDATA[Bot should reop - Help with this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61322#p61322"><![CDATA[
You are a god Sir_Fz. But you forgot a bracket. <blockquote class="uncited"><div>set cmd [string trimleft [join [lrange [split $nho] 1 end-1<span style="color:red">]</span>] \"] </div></blockquote>I added it. Now it works perfectly.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Thu Mar 23, 2006 10:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-03-22T13:53:59-04:00</updated>

		<published>2006-03-22T13:53:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61287#p61287</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61287#p61287"/>
		<title type="html"><![CDATA[Bot should reop - Help with this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61287#p61287"><![CDATA[
I have edited the code, try it now.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Mar 22, 2006 1:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-03-22T12:23:18-04:00</updated>

		<published>2006-03-22T12:23:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61284#p61284</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61284#p61284"/>
		<title type="html"><![CDATA[Bot should reop - Help with this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61284#p61284"><![CDATA[
When I type .chaninfo, the bot says:<br>User defined channel strings:<br>need-halfop: {putquick "ChanServ :halfop #SODclan $botnick"}<br><br>I think everything is OK, but I think it has to be {putquick "PRIVMSG..."}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Wed Mar 22, 2006 12:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-03-22T12:14:06-04:00</updated>

		<published>2006-03-22T12:14:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61282#p61282</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61282#p61282"/>
		<title type="html"><![CDATA[Bot should reop - Help with this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61282#p61282"><![CDATA[
Check punctuation of putquick command i.e. closing quotes etc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed Mar 22, 2006 12:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-03-22T12:06:29-04:00</updated>

		<published>2006-03-22T12:06:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61281#p61281</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61281#p61281"/>
		<title type="html"><![CDATA[Bot should reop - Help with this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61281#p61281"><![CDATA[
Hm...Whats that?<br>(17:04:40) Tcl error in script for 'timer30':<br>(17:04:41) unknown putquick option: should be one of: -normal -next<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Wed Mar 22, 2006 12:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-03-23T13:12:31-04:00</updated>

		<published>2006-03-22T11:37:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61278#p61278</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61278#p61278"/>
		<title type="html"><![CDATA[Bot should reop - Help with this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61278#p61278"><![CDATA[
need-halfop is not supported by eggdrop1.6.17, you need a script for that.<div class="codebox"><p>Code: </p><pre><code># check every how many seconds?set nhotime 30if {[timerexists needhop]==""} { utimer $nhotime needhop}setudef str need-halfopproc needhop {} { global botnick foreach chan [channels] {  if {![botishalfop $chan] &amp;&amp; [set nho [channel get $chan need-halfop]] != ""} {   set queue [lindex [split $nho] 0]   set switch [lindex [split $nho] end]   if {![string equal -nocase "-next" $switch]} {    set cmd [string trimleft [join [lrange [split $nho] 1 end]] \"]    set cmd [string trimright $cmd \"]    set switch "-normal"   } {    set cmd [string trimleft [join [lrange [split $nho] 1 end-1]] \"]    set cmd [string trimright $cmd \"]   }   $queue [subst $cmd] $switch  } } utimer $::nhotime needhop}</code></pre></div>Usage:<blockquote class="uncited"><div>.chanset #channel need-halfop putquick "ChanServ :halfop #channel $botnick"</div></blockquote>Edit: Fixed the missing bracket.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Mar 22, 2006 11:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-03-22T11:37:25-04:00</updated>

		<published>2006-03-22T11:37:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61277#p61277</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61277#p61277"/>
		<title type="html"><![CDATA[Bot should reop - Help with this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61277#p61277"><![CDATA[
Yes I know.<br>But why does this script not work?<div class="codebox"><p>Code: </p><pre><code>set active #SODclanproc needhalfop {nick uhost hand chan arg} { if {[string equal -nocase $chan $::active]} { if {[botisop $chan] == 0} {  putquick "PRIVMSG ChanServ :halfop $chan  return 0      } }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Wed Mar 22, 2006 11:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2006-03-22T11:27:26-04:00</updated>

		<published>2006-03-22T11:27:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61274#p61274</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61274#p61274"/>
		<title type="html"><![CDATA[Bot should reop - Help with this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61274#p61274"><![CDATA[
Probably because 'need-halfop' dosen't even exist.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Mar 22, 2006 11:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-03-22T10:45:44-04:00</updated>

		<published>2006-03-22T10:45:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61272#p61272</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61272#p61272"/>
		<title type="html"><![CDATA[Bot should reop - Help with this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61272#p61272"><![CDATA[
Is there also a possibility to get halfop?<div class="codebox"><p>Code: </p><pre><code>.chanset #chan need-halfop putquick "privmsg ChanServ :halfop #chan"</code></pre></div> This code doesn't work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Wed Mar 22, 2006 10:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2006-03-09T13:41:02-04:00</updated>

		<published>2006-03-09T13:41:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60958#p60958</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60958#p60958"/>
		<title type="html"><![CDATA[Bot should reop - Help with this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60958#p60958"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>.chanset #chan need-op</code></pre></div>should do.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Mar 09, 2006 1:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-03-09T10:39:53-04:00</updated>

		<published>2006-03-09T10:39:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60952#p60952</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60952#p60952"/>
		<title type="html"><![CDATA[Bot should reop - Help with this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60952#p60952"><![CDATA[
Now, just a simple question. How can I disable the need-op command.<br>".chanset #chan -need-op" doesn't work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Thu Mar 09, 2006 10:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-02-27T07:34:53-04:00</updated>

		<published>2006-02-27T07:34:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60689#p60689</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60689#p60689"/>
		<title type="html"><![CDATA[Bot should reop - Help with this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60689#p60689"><![CDATA[
Thanks Sir_Fz. I thought that this option will flood the services, but now I have found out that it only get OP again when it is deoped.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Mon Feb 27, 2006 7:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-02-26T18:14:24-04:00</updated>

		<published>2006-02-26T18:14:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60676#p60676</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60676#p60676"/>
		<title type="html"><![CDATA[Bot should reop - Help with this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60676#p60676"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>.chanset #chan need-op putquick "privmsg ChanServ :op #chan"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Feb 26, 2006 6:14 pm</p><hr />
]]></content>
	</entry>
	</feed>
