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

	<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>2003-11-27T21:40:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[FIDe`]]></name></author>
		<updated>2003-11-27T21:40:46-04:00</updated>

		<published>2003-11-27T21:40:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30805#p30805</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30805#p30805"/>
		<title type="html"><![CDATA[simple tcl request: partyline bold script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30805#p30805"><![CDATA[
it magically works. yes, it works  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> thanks for your attention in this really useless thread.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2739">FIDe`</a> — Thu Nov 27, 2003 9:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-11-27T16:30:32-04:00</updated>

		<published>2003-11-27T16:30:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30795#p30795</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30795#p30795"/>
		<title type="html"><![CDATA[simple tcl request: partyline bold script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30795#p30795"><![CDATA[
insert my proc and bind in that first 'if' below the rename line/before the close brace, then add \002 around the '$text' of the first 'return $text' inside the netbots proc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Nov 27, 2003 4:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FIDe`]]></name></author>
		<updated>2003-11-27T15:43:19-04:00</updated>

		<published>2003-11-27T15:43:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30793#p30793</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30793#p30793"/>
		<title type="html"><![CDATA[simple tcl request: partyline bold script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30793#p30793"><![CDATA[
ok: if I load your script before netbots, and then I load netbots, it magically works ! <br>if I load the bots with source netbots/netbots.tcl and source/bold.tcl , it magically doesn't work.<br><br>this is the netbots.tcl interesting code:<div class="codebox"><p>Code: </p><pre><code>bind filt - * nb_cmdcastif {!$nb_cmdcast} {  unbind filt - * nb_cmdcast  rename nb_cmdcast ""}&lt;snip&gt;proc nb_cmdcast {idx text} {  global nb_castfilter  set hand [idx2hand $idx] ; set cmd [string tolower [lindex [split $text] 0]]  if {![catch {getchan $idx} chan]} {    if {$chan == -1} {      set cmd .[string trimleft $cmd "."]    } elseif {![string match ".*" $cmd]} {      return $text    }    if {[lsearch -exact $nb_castfilter $cmd] != -1} {      nb_sendcmd * rbroadcast "#$hand# [string trimleft [lindex [split $text] 0] "."] .."    } else {      nb_sendcmd * rbroadcast "#$hand# [string trimleft [string range $text 0 399] "."]"    }  }  return $text}</code></pre></div>I tryed to put your script too in proc nb_cmdcast before return $text, without results.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2739">FIDe`</a> — Thu Nov 27, 2003 3:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-11-27T15:03:14-04:00</updated>

		<published>2003-11-27T15:03:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30790#p30790</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30790#p30790"/>
		<title type="html"><![CDATA[simple tcl request: partyline bold script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30790#p30790"><![CDATA[
Find the other proc triggered by a filt bind with the same mask (*) and paste it here.<br><br>PS: what happens if you load my script before/after netbots?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Nov 27, 2003 3:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FIDe`]]></name></author>
		<updated>2003-11-27T14:25:27-04:00</updated>

		<published>2003-11-27T14:25:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30785#p30785</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30785#p30785"/>
		<title type="html"><![CDATA[simple tcl request: partyline bold script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30785#p30785"><![CDATA[
ok, I found the problem: if I don't load netbots your script works. I really don't know what to do  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"> In my very little tcl knowledge, in netbots.tcl there are some bind filt * like your script, I think they create some problems..? there's a way to solve this problem (without unloading netbots? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> ) thank you again <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=2739">FIDe`</a> — Thu Nov 27, 2003 2:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FIDe`]]></name></author>
		<updated>2003-11-19T15:34:56-04:00</updated>

		<published>2003-11-19T15:34:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30345#p30345</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30345#p30345"/>
		<title type="html"><![CDATA[simple tcl request: partyline bold script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30345#p30345"><![CDATA[
are we talking about the same script?<div class="codebox"><p>Code: </p><pre><code>bind filt - * chatBold proc chatBold {i t} {   if {![string match .* $t] &amp;&amp; ![catch {getchan $i}]} {set t \002$t\002} {set t} }</code></pre></div>is it this?<br>I really can't understand why isn't working  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"> , I don't get any error.<br>if I do a <br><em class="text-italics">.tcl dccbroadcast \002prova\002</em><br>I see broadcasted the word prova in bold, from all bots. but If I load your script on botA and I type on botA, I see the text without bold on all bots.<br>Now, I try unloading all scripts loaded (netbots,etc) and retry..<br>really don't know.. however, thank you again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2739">FIDe`</a> — Wed Nov 19, 2003 3:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-11-19T12:01:38-04:00</updated>

		<published>2003-11-19T12:01:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30330#p30330</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30330#p30330"/>
		<title type="html"><![CDATA[simple tcl request: partyline bold script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30330#p30330"><![CDATA[
<blockquote class="uncited"><div>I want to type NO BOLD text in partyline, and I want that all text written in partyline will be displayed as <strong class="text-strong">BOLD</strong> <em class="text-italics">to</em> other users in partyline; sorry if my english is no good <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>That's what the script does on my eggdrop 1.6.13. Now I've also tested it on a 1.6.15, and it worked there too. This script will add \002 to the start and end of every message sent FROM the bot the script is loaded on. So it won't touch text typed by users on other bots. Is that what you want maybe?<br>PS: your english is fine <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=2878">user</a> — Wed Nov 19, 2003 12:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FIDe`]]></name></author>
		<updated>2003-11-19T10:27:03-04:00</updated>

		<published>2003-11-19T10:27:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30317#p30317</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30317#p30317"/>
		<title type="html"><![CDATA[simple tcl request: partyline bold script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30317#p30317"><![CDATA[
<blockquote class="uncited"><div>Did you try to send bold text from your client with echo on (or watching from another linked bot)? </div></blockquote>Maybe there's a misunderstood:<br>I want to type NO BOLD text in partyline, and I want that all text written in partyline will be displayed as <strong class="text-strong">BOLD</strong> <em class="text-italics">to</em> other users in partyline; sorry if my english is no good <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><blockquote class="uncited"><div>You realize that the script on the bot can't change how your client renders your local echo, right?  </div></blockquote>Yes, I know, infact I look from remote bots:<br>&lt;Odessa&gt; &lt;gianfi&gt; niente bold?<br>&lt;gianfi@Odessa&gt; niente bold?<br><br>Hoping that I've been more comprensible <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> tnx again for your interest.[/i]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2739">FIDe`</a> — Wed Nov 19, 2003 10:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-11-18T20:31:39-04:00</updated>

		<published>2003-11-18T20:31:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30285#p30285</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30285#p30285"/>
		<title type="html"><![CDATA[simple tcl request: partyline bold script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30285#p30285"><![CDATA[
Did you try to send bold text from your client with echo on (or watching from another linked bot)? You realize that the script on the bot can't change how your client renders your local echo, right? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>EDIT: I tried the script now and it works fine on my 1.6.13<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Nov 18, 2003 8:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FIDe`]]></name></author>
		<updated>2003-11-18T20:29:28-04:00</updated>

		<published>2003-11-18T20:29:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30284#p30284</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30284#p30284"/>
		<title type="html"><![CDATA[simple tcl request: partyline bold script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30284#p30284"><![CDATA[
No, my client (xchat) doesn't filter bold char, since if I write with bold in partyline, I see my written text in bold. With <em class="text-italics">echo on</em> I see it without bold, and from another bot it's the same. Did you tried yourself that script?I tryed it with a 1.6.15 eggie. tnx  <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=2739">FIDe`</a> — Tue Nov 18, 2003 8:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-11-18T11:51:04-04:00</updated>

		<published>2003-11-18T11:51:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30261#p30261</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30261#p30261"/>
		<title type="html"><![CDATA[simple tcl request: partyline bold script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30261#p30261"><![CDATA[
Your client might be filtering control chars. How did you test it? Do you have <strong class="text-strong">.echo on</strong> or did you watch from another bot?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Nov 18, 2003 11:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FIDe`]]></name></author>
		<updated>2003-11-18T09:36:54-04:00</updated>

		<published>2003-11-18T09:36:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30237#p30237</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30237#p30237"/>
		<title type="html"><![CDATA[simple tcl request: partyline bold script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30237#p30237"><![CDATA[
right, I removed the line break <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>now there isn't any error..<br>but It doesn't <strong class="text-strong">bold</strong> anything <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> partyline chat is still not bolded.<br>yes, I'm +h.<blockquote class="uncited"><div>&lt;gianfi&gt; funziona questo cazzo di bold?</div></blockquote>however, no error is a good starting point, got workin' on it. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2739">FIDe`</a> — Tue Nov 18, 2003 9:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-11-18T03:17:22-04:00</updated>

		<published>2003-11-18T03:17:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30229#p30229</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30229#p30229"/>
		<title type="html"><![CDATA[simple tcl request: partyline bold script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30229#p30229"><![CDATA[
<blockquote class="uncited"><div>invalid command name "set t"</div></blockquote>Then you probably inserted a line break {set t \002$t\002} <strong class="text-strong">here</strong> {set t} ...which is not a good idea <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=2878">user</a> — Tue Nov 18, 2003 3:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FIDe`]]></name></author>
		<updated>2003-11-17T21:17:42-04:00</updated>

		<published>2003-11-17T21:17:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30212#p30212</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30212#p30212"/>
		<title type="html"><![CDATA[simple tcl request: partyline bold script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30212#p30212"><![CDATA[
mm no, it doesn't work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>[03:14] Tcl error [chatBold]: invalid command name "set t"<br>&lt;gianfi&gt; we<br><br>tnx however <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=2739">FIDe`</a> — Mon Nov 17, 2003 9:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-11-17T13:59:06-04:00</updated>

		<published>2003-11-17T13:59:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30191#p30191</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30191#p30191"/>
		<title type="html"><![CDATA[Try this...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30191#p30191"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind filt - * chatBoldproc chatBold {i t} {  if {![string match .* $t] &amp;&amp; ![catch {getchan $i}]} {set t \002$t\002} {set t}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Nov 17, 2003 1:59 pm</p><hr />
]]></content>
	</entry>
	</feed>
