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

	<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>2009-12-04T12:05:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2009-12-04T12:05:04-04:00</updated>

		<published>2009-12-04T12:05:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91191#p91191</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91191#p91191"/>
		<title type="html"><![CDATA[Bracket Conflict]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91191#p91191"><![CDATA[
Cool thanks sir_fz also changed act to :act<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Fri Dec 04, 2009 12:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2009-12-04T10:54:38-04:00</updated>

		<published>2009-12-04T10:54:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91190#p91190</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91190#p91190"/>
		<title type="html"><![CDATA[Bracket Conflict]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91190#p91190"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set text [join [lrange [split $arg] 1 end]</code></pre></div>should be<div class="codebox"><p>Code: </p><pre><code>set text [join [lrange [split $arg] 1 end]]</code></pre></div>You should also consider adding ":" before the privmsg text (i.e. "privmsg botserv :act ...").<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Dec 04, 2009 10:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2009-12-04T10:04:35-04:00</updated>

		<published>2009-12-04T10:04:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91187#p91187</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91187#p91187"/>
		<title type="html"><![CDATA[Bracket Conflict]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91187#p91187"><![CDATA[
I also get this problem but i use<br><div class="codebox"><p>Code: </p><pre><code>bind msg ho|ho act cmd:actproc cmd:act {nick uhost hand arg} {  set chan [lindex [split $arg] 0]  set text [lrange [split $arg] 1 end]  putserv "PRIVMSG botserv act $chan $text (Issued By $nick"}</code></pre></div>tried adding it like this<br><div class="codebox"><p>Code: </p><pre><code>bind msg ho|ho act cmd:actproc cmd:act {nick uhost hand arg} {  set chan [lindex [split $arg] 0]  set text [join [lrange [split $arg] 1 end]  putserv "PRIVMSG botserv act $chan $text (Issued By $nick"}</code></pre></div>but get error  on partyline Tcl error [cmd:act]: missing close-bracket<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Fri Dec 04, 2009 10:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Conc]]></name></author>
		<updated>2009-10-31T17:10:43-04:00</updated>

		<published>2009-10-31T17:10:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90722#p90722</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90722#p90722"/>
		<title type="html"><![CDATA[Bracket Conflict]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90722#p90722"><![CDATA[
It works fine.<br><br>Thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10932">Conc</a> — Sat Oct 31, 2009 5:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2009-10-31T17:02:55-04:00</updated>

		<published>2009-10-31T17:02:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90721#p90721</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90721#p90721"/>
		<title type="html"><![CDATA[Bracket Conflict]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90721#p90721"><![CDATA[
I suppose you'd like something like this...<div class="codebox"><p>Code: </p><pre><code>bind pub - "egg" someprocproc someproc {nick host handle channel text} {  puthelp "PRIVMSG $channel :[join [lrange [split $text] 1 end]]"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Oct 31, 2009 5:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Conc]]></name></author>
		<updated>2009-10-31T17:00:01-04:00</updated>

		<published>2009-10-31T17:00:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90720#p90720</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90720#p90720"/>
		<title type="html"><![CDATA[Bracket Conflict]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90720#p90720"><![CDATA[
$t isnt just the text to send... it has also the word "say".<br><br>Well... i am not very good with tcl, can you do it for me?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10932">Conc</a> — Sat Oct 31, 2009 5:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2009-10-31T16:52:04-04:00</updated>

		<published>2009-10-31T16:52:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90719#p90719</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90719#p90719"/>
		<title type="html"><![CDATA[Bracket Conflict]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90719#p90719"><![CDATA[
Because lrange operates on lists (not strings), and returns a list (not a string).<br>At minimum, you should use join to merge the list into a single string.<br>Also, if $t is simply the text you wrote to trigger the binding, then you must also use split to convert it into a list before using lrange.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Oct 31, 2009 4:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Conc]]></name></author>
		<updated>2009-10-31T16:48:44-04:00</updated>

		<published>2009-10-31T16:48:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90718#p90718</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90718#p90718"/>
		<title type="html"><![CDATA[Bracket Conflict]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90718#p90718"><![CDATA[
I made a "say" script.<br><br>it works so:<br><br><em class="text-italics">botnick</em> say <em class="text-italics">text</em><br><br>Part of code:<div class="codebox"><p>Code: </p><pre><code>putserv "PRIVMSG $c :[lrange $t 1 end]"</code></pre></div>but this has a problem, look at this:<blockquote class="uncited"><div>&lt;Conc&gt; Egg say [Hi]<br>&lt;Egg&gt; {[Hi]}</div></blockquote>Why does it says {} when i type a bracket?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10932">Conc</a> — Sat Oct 31, 2009 4:48 pm</p><hr />
]]></content>
	</entry>
	</feed>
