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

	<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>2004-02-20T21:31:15-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-02-20T21:31:15-04:00</updated>

		<published>2004-02-20T21:31:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33777#p33777</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33777#p33777"/>
		<title type="html"><![CDATA[Brackets and timer problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33777#p33777"><![CDATA[
You should use <ul> <li>to pass the arguments to timer/utimer.<br><div class="codebox"><p>Code: </p><pre><code>utimer 3 [list checkaccessafterjoin $nick $host $chan]</code></pre></div></li></ul><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Fri Feb 20, 2004 9:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scr0llwheel]]></name></author>
		<updated>2004-02-20T19:26:15-04:00</updated>

		<published>2004-02-20T19:26:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33776#p33776</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33776#p33776"/>
		<title type="html"><![CDATA[Brackets and timer problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33776#p33776"><![CDATA[
I have a short script that checks the access of a user after they join the channel. When the user joins the channel, a timer is created:<div class="codebox"><p>Code: </p><pre><code>utimer 3 "checkaccessafterjoin $nick $host $chan"</code></pre></div>Now, the error I'm getting is if someone joins with a nickname that has brackets in it (something like [NGL]Fate), it'll treat what is inside the brackets as a command. I get the following error:<div class="codebox"><p>Code: </p><pre><code>Tcl error in script for 'timer173':invalid command name "NGL"</code></pre></div>Other than it being annoying, I'm also worried about security. Like what if someone joins with a nickname that has "[die]" in it.<br><br>How can I have eggdrop ignore the brackets in the user's nickname?<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2465">scr0llwheel</a> — Fri Feb 20, 2004 7:26 pm</p><hr />
]]></content>
	</entry>
	</feed>
