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

	<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>2010-03-22T17:41:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[x0x]]></name></author>
		<updated>2010-03-22T17:41:18-04:00</updated>

		<published>2010-03-22T17:41:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92571#p92571</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92571#p92571"/>
		<title type="html"><![CDATA[Public Channel &amp; User Commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92571#p92571"><![CDATA[
Thank you for the security alert, is there a proper script available somewhere? I only need !op !t !v !k !kb<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10486">x0x</a> — Mon Mar 22, 2010 5:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2009-06-16T12:33:08-04:00</updated>

		<published>2009-06-16T12:33:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89210#p89210</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89210#p89210"/>
		<title type="html"><![CDATA[Public Channel &amp; User Commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89210#p89210"><![CDATA[
You'll actually find this kind of improper list-use all through the script. Also, in this special case, you could simply use $text directly, rather than converting it to a list, selecting the whole list, and then convert it back into a string.<br><br>You should also be aware, that the mass-(de)voice/op commands are flawed as they expect the server to accept 6 modes per line (3 is standard) without checking how many the server actually permits.<br><br>Further, this script uses a very insecure security model, which grants public access to the chanset tcl command through mere hostmask matching. This opens for the possibility of remote code vulnerability using the need-* channel settings.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Jun 16, 2009 12:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[testebr]]></name></author>
		<updated>2009-06-16T07:35:01-04:00</updated>

		<published>2009-06-16T07:35:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89205#p89205</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89205#p89205"/>
		<title type="html"><![CDATA[Public Channel &amp; User Commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89205#p89205"><![CDATA[
Amaze!<br><br>Work fine, thank you.<br><br>I will try to fix more tcls with this idea.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7055">testebr</a> — Tue Jun 16, 2009 7:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[username]]></name></author>
		<updated>2009-06-15T23:07:31-04:00</updated>

		<published>2009-06-15T23:07:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89204#p89204</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89204#p89204"/>
		<title type="html"><![CDATA[Public Channel &amp; User Commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89204#p89204"><![CDATA[
In <strong class="text-strong">topic</strong> procedure change <div class="codebox"><p>Code: </p><pre><code>set topictext [lrange $text 0 end]</code></pre></div> to <div class="codebox"><p>Code: </p><pre><code>set topictext [join [lrange [split $text] 0 end]]</code></pre></div>The $text argument is a string but lrange command works only with lists. So we need to split text before using lrange. But later we need to turn our text in string back, thats why we use join.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6813">username</a> — Mon Jun 15, 2009 11:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[testebr]]></name></author>
		<updated>2009-06-15T22:00:59-04:00</updated>

		<published>2009-06-15T22:00:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89203#p89203</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89203#p89203"/>
		<title type="html"><![CDATA[Public Channel &amp; User Commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89203#p89203"><![CDATA[
Dear friends,<br><br>I'm using <a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=1360" class="postlink">this TCL</a> (<a href="http://www.egghelp.org/tclhtml/3478-4-0-0-1-pcucommands.htm" class="postlink">search link</a>) by several months, work great for my needs. But I have a small problem with command !t &lt;topic&gt;<br><br>If you sent:<br><div class="codebox"><p>Code: </p><pre><code>!t some word ;)</code></pre></div>Will result:<br><div class="codebox"><p>Code: </p><pre><code>some word {;)}</code></pre></div>How to I can fix it?<br><br>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7055">testebr</a> — Mon Jun 15, 2009 10:00 pm</p><hr />
]]></content>
	</entry>
	</feed>
