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

	<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-08-23T16:12:19-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-08-23T16:10:46-04:00</updated>

		<published>2006-08-23T16:10:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65749#p65749</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65749#p65749"/>
		<title type="html"><![CDATA[need script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65749#p65749"><![CDATA[
Okies, something like this then..<br><div class="codebox"><p>Code: </p><pre><code>bind pub - ".+m" pub:lockdownproc pub:lockdown {nick host handle chan text} { if {[botisop $chan]} {  pushmode $chan +m  timer 5 [list pushmode $chan -m] } return 1}</code></pre></div><em class="text-italics">Edit:</em> Be aware that this does not perform any checks on the person issuing the command, so anyone in the channel would be able to use this..<br>Probably wanna change the binding something like this:<div class="codebox"><p>Code: </p><pre><code>bind pub - ".+m" pub:lockdown</code></pre></div>into<div class="codebox"><p>Code: </p><pre><code>bind pub o ".+m" pub:lockdown</code></pre></div>Also altered name of proc (and binding) for clarity purposes only<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Aug 23, 2006 4:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[[Lt]im]]></name></author>
		<updated>2006-08-23T16:06:55-04:00</updated>

		<published>2006-08-23T16:06:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65748#p65748</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65748#p65748"/>
		<title type="html"><![CDATA[need script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65748#p65748"><![CDATA[
this should work in dcc chat? i want this to be public command.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7473">[Lt]im</a> — Wed Aug 23, 2006 4:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-08-23T16:12:19-04:00</updated>

		<published>2006-08-23T15:52:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65746#p65746</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65746#p65746"/>
		<title type="html"><![CDATA[need script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65746#p65746"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind dcc - "+m" dcc:lockdownproc dcc:lockdown {handle idx text} { set chan [lindex [split $text] 0] if {[validchan $chan] &amp;&amp; [botisop $chan]} {  pushmode $chan +m  timer 5 [list pushmode $chan -m] } return 1}</code></pre></div>Hav'nt tested it, but should do the trick...<br><br><em class="text-italics">edit:</em> Minor errors in the code, use consistent variable names, give $chan as an argument to validchan...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Aug 23, 2006 3:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[[Lt]im]]></name></author>
		<updated>2006-08-23T15:46:26-04:00</updated>

		<published>2006-08-23T15:46:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65745#p65745</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65745#p65745"/>
		<title type="html"><![CDATA[need script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65745#p65745"><![CDATA[
I need a script, when a command .+m is used bot would lock chan (with mode +m) for 5mins, and after 5mins would automaticaly set mode -m.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7473">[Lt]im</a> — Wed Aug 23, 2006 3:46 pm</p><hr />
]]></content>
	</entry>
	</feed>
