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

	<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>2007-12-14T21:17:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[vigilant]]></name></author>
		<updated>2007-12-14T21:16:51-04:00</updated>

		<published>2007-12-14T21:16:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79343#p79343</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79343#p79343"/>
		<title type="html"><![CDATA[Timers not dying[solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79343#p79343"><![CDATA[
<blockquote class="uncited"><div>As to your op-check, eggdrop has a mechanism to detect when it is opless, allowing you to execute custom code when that happens. Once an opless state has been detected, the code will be executed continuosly (with a slight delay inbetween invocations) until your eggdrop regains op.<br><br>Current, recommended, approach is something like this:<div class="codebox"><p>Code: </p><pre><code>bind need - "% op" wewantopsproc wewantops {chan what} { puthelp "PRIVMSG $chan :No access to op myself, please op me."}</code></pre></div>An older, now deprecated approach is something like this:<div class="codebox"><p>Code: </p><pre><code>channel set #yourchannel need-op { puthelp "PRIVMSG #yourchannel :No access to op myself, please op me."</code></pre></div>Worth noting, in the second approach, the code is limited to 120 characters, whereas the first has no such limit.</div></blockquote><br>Thank you sir. This does work clearly. I got told, i was trying to reinvent the wheel haha.. so yeah. <br><br>Got it working <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7195">vigilant</a> — Fri Dec 14, 2007 9:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-12-14T18:00:16-04:00</updated>

		<published>2007-12-14T18:00:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79340#p79340</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79340#p79340"/>
		<title type="html"><![CDATA[Timers not dying[solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79340#p79340"><![CDATA[
As to your op-check, eggdrop has a mechanism to detect when it is opless, allowing you to execute custom code when that happens. Once an opless state has been detected, the code will be executed continuosly (with a slight delay inbetween invocations) until your eggdrop regains op.<br><br>Current, recommended, approach is something like this:<div class="codebox"><p>Code: </p><pre><code>bind need - "% op" wewantopsproc wewantops {chan what} { puthelp "PRIVMSG $chan :No access to op myself, please op me."}</code></pre></div>An older, now deprecated approach is something like this:<div class="codebox"><p>Code: </p><pre><code>channel set #yourchannel need-op { puthelp "PRIVMSG #yourchannel :No access to op myself, please op me."</code></pre></div>Worth noting, in the second approach, the code is limited to 120 characters, whereas the first has no such limit.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Dec 14, 2007 6:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2007-12-14T17:03:48-04:00</updated>

		<published>2007-12-14T17:03:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79336#p79336</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79336#p79336"/>
		<title type="html"><![CDATA[Timers not dying[solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79336#p79336"><![CDATA[
Checked the TCL Archive theres a script in there for killing timers via .dcc called Timer Tools. Search link <a href="http://www.egghelp.org/tclhtml/3478-4-0-0-1-timer.htm" class="postlink">http://www.egghelp.org/tclhtml/3478-4-0-0-1-timer.htm</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Fri Dec 14, 2007 5:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[vigilant]]></name></author>
		<updated>2007-12-14T21:17:06-04:00</updated>

		<published>2007-12-14T16:59:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79335#p79335</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79335#p79335"/>
		<title type="html"><![CDATA[Timers not dying[solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79335#p79335"><![CDATA[
First i want to ask, how can kill a timer using .tcl in DCC?<br>Is there a way hehe? <br><br>And now, my script i'm using this code, but it's not killing the timers, it keeps starting... hehe<br><br>I am basically trying to do, if it finds itself op i want to kill the timers for the message<br>thanks<br><div class="codebox"><p>Code: </p><pre><code>proc complain {} {global services botnickutimer $services(complaintime) complainset chan $::channelputhelp "PRIVMSG $chan :No access to op myself, please op me."set testtimer ""foreach testtimer [utimers] {if {[string match "complain" $testtimer]} {utimer $services(complaintime) complainif {[botisop $chan]} {set killit ""foreach killit [utimers] {if {[string equal -nocase complain [lindex $killit 1]]} { killutimer [lindex $killit 2]break}}}} } }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7195">vigilant</a> — Fri Dec 14, 2007 4:59 pm</p><hr />
]]></content>
	</entry>
	</feed>
