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

	<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>2005-05-07T17:33:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[odoisc2]]></name></author>
		<updated>2005-05-07T17:33:04-04:00</updated>

		<published>2005-05-07T17:33:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49180#p49180</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49180#p49180"/>
		<title type="html"><![CDATA[controlcodes in nicks prevent script to work, how to fix?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49180#p49180"><![CDATA[
ok cool thanks, think I start to understand why its like that<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6202">odoisc2</a> — Sat May 07, 2005 5:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-05-07T11:57:15-04:00</updated>

		<published>2005-05-07T11:57:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49167#p49167</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49167#p49167"/>
		<title type="html"><![CDATA[controlcodes in nicks prevent script to work, how to fix?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49167#p49167"><![CDATA[
replace <div class="codebox"><p>Code: </p><pre><code>[lindex $text ...</code></pre></div>with <div class="codebox"><p>Code: </p><pre><code>[lindex [split $text] ...</code></pre></div>and <div class="codebox"><p>Code: </p><pre><code>[lrange $text 2 100]</code></pre></div>with <div class="codebox"><p>Code: </p><pre><code>[join [lrange [split $text] 2 end]]</code></pre></div>Check the 'tip of the day' thread in the FAQ forum.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat May 07, 2005 11:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[odoisc2]]></name></author>
		<updated>2005-05-07T11:45:46-04:00</updated>

		<published>2005-05-07T11:45:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49166#p49166</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49166#p49166"/>
		<title type="html"><![CDATA[controlcodes in nicks prevent script to work, how to fix?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49166#p49166"><![CDATA[
I have a script that allows people to kick someone through a ctcp command. It only works if those people are online in a seperate controlroom, wich has restricted access. <br><br>the command is like /ctcp botname kick roomname nick kickreason<br><div class="codebox"><p>Code: </p><pre><code>bind CTCP - kick ctcpkickproc ctcpkick { nick host handle dest keyword text } {if { $keyword == "KICK" } {      if { [onchan $nick "#controlroom"] } { set kickchan [lindex $text 0] set kicknick [lindex $text 1] set kickmsg [lrange $text 2 100]       putserv "PRIVMSG #controlroom :kickcommand used by $kicknick in $kickchan , by $nick"       putserv "kick $kickchan $kicknick $kickmsg"}       }}</code></pre></div>And it works, except when the targetted nick has a \ in his nick, wich seems te be processed as a control code afaik.<br><br>So my question is ofcourse, how can I use that script even for nicks with \ in it ? is there some way to convert those \ to normal characters ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6202">odoisc2</a> — Sat May 07, 2005 11:45 am</p><hr />
]]></content>
	</entry>
	</feed>
