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

	<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>2006-05-01T06:25:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-05-01T06:25:04-04:00</updated>

		<published>2006-05-01T06:25:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62527#p62527</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62527#p62527"/>
		<title type="html"><![CDATA[makecell / spacing output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62527#p62527"><![CDATA[
spaces are truncated by some clients (mostly mIRC), you can prevent this by using a control charcter every even character like " \002 \002 " will display 3 spaces, even with mIRC space truncating. remember to keep an even number of these characters, to not write bold after the spaces <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">. This will of course not work if the IRC server blocks/removes control characters <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">. <br><br>Alternately you can try using tabs (\t), but you never know how many whitespaces the client will actually write. usually 1, 3 or 5 (X-Chat writes only 1).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Mon May 01, 2006 6:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blinky]]></name></author>
		<updated>2006-05-01T05:32:17-04:00</updated>

		<published>2006-05-01T05:32:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62524#p62524</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62524#p62524"/>
		<title type="html"><![CDATA[makecell / spacing output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62524#p62524"><![CDATA[
haha i feel so stupid. i found it.<div class="codebox"><p>Code: </p><pre><code>proc makecell {text width align} {  set text [noentities $text]  set length [string length [noirc $text]]  if {$length &gt;= $width} {    set padding $width    set text [string range $text 0 [incr padding -2]]    set length [incr padding 1]  }  if {$align == "left"} {    set temp $text    for {set i 0} {$i &lt; $width - $length} {incr i} {      append temp " "    }  } else {    set temp ""    for {set i 0} {$i &lt; $width - $length} {incr i} {      append temp " "    }    append temp $text  }  return $temp}</code></pre></div>it still doesnt space is right. i think multiple empty spaces are cut down to 1. is there a way to add definate spaces?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7697">blinky</a> — Mon May 01, 2006 5:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-05-01T05:18:04-04:00</updated>

		<published>2006-05-01T05:18:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62520#p62520</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62520#p62520"/>
		<title type="html"><![CDATA[makecell / spacing output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62520#p62520"><![CDATA[
There is no predefined function by that name. The function must be in the script itself or in a script which is needed to run that script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Mon May 01, 2006 5:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blinky]]></name></author>
		<updated>2006-04-30T23:35:29-04:00</updated>

		<published>2006-04-30T23:35:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62512#p62512</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62512#p62512"/>
		<title type="html"><![CDATA[makecell / spacing output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62512#p62512"><![CDATA[
im very new to tcl and i was wondering what this i see in a script i have.<br><br>putquick "PRIVMSG $chan : \002[makecell "Found $total_results in [string trim $query_time]" 25 left][makecell "\".db help\" for info <a href="http://edited.com" class="postlink">http://edited.com</a>" 61 right] "<br><br>it seems like its some sort of way to space it out. this isnt the only place i see 'makecell' in this script. i couldnt find any documentation on that in the tcl wiki. any ideas what it is?<br><br>i also do want to space things by # of characters.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7697">blinky</a> — Sun Apr 30, 2006 11:35 pm</p><hr />
]]></content>
	</entry>
	</feed>
