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

	<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-08-28T19:16:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-08-28T19:16:57-04:00</updated>

		<published>2005-08-28T19:16:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54977#p54977</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54977#p54977"/>
		<title type="html"><![CDATA[Making 1 letter caped]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54977#p54977"><![CDATA[
what about something like that?<br><br>set command [string totile $command 1 end]<br><blockquote class="uncited"><div>tcl: evaluate (.tcl): string totitle @commAnd 1 end<br>Tcl: @Command</div></blockquote>simple and effective <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>oh, yes... for changing it in the whole string, you might have to use:<br><div class="codebox"><p>Code: </p><pre><code>set text [split $text]set text [lreplace $text 0 0 [string totitle [lindex $text 0] 1 end]]</code></pre></div>learn more about the magic tcl command <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/string.htm" class="postlink">string</a><br><br>Edit: fixed typo within <div class="codebox"><p>Code: </p><pre><code></code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sun Aug 28, 2005 7:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BadAssWright]]></name></author>
		<updated>2005-08-28T18:25:33-04:00</updated>

		<published>2005-08-28T18:25:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54972#p54972</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54972#p54972"/>
		<title type="html"><![CDATA[Making 1 letter caped]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54972#p54972"><![CDATA[
I know how to remove all the caps in a line $text or $arg but i dont know how just to make the first letter of a command to be caped<br><br><br>like so<br><br>if someone types @commands<br><br>the bot will read commands, then responed with <br><br><br>commands @website @help @staff<br><br>how can i get Commands to be caped becauses its not set in the tcl file it just reads what ever the user types<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6598">BadAssWright</a> — Sun Aug 28, 2005 6:25 pm</p><hr />
]]></content>
	</entry>
	</feed>
