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

	<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-06-04T02:16:52-04:00</updated>

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

		<entry>
		<author><name><![CDATA[mkluin]]></name></author>
		<updated>2003-06-04T02:16:52-04:00</updated>

		<published>2003-06-04T02:16:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21207#p21207</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21207#p21207"/>
		<title type="html"><![CDATA[Responding on bot lowercase and capital letters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21207#p21207"><![CDATA[
yeah i forgot a space.<br><br>It works now.<br><br>Thanks for the help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2151">mkluin</a> — Wed Jun 04, 2003 2:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-03T14:41:36-04:00</updated>

		<published>2003-06-03T14:41:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21186#p21186</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21186#p21186"/>
		<title type="html"><![CDATA[Responding on bot lowercase and capital letters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21186#p21186"><![CDATA[
Looks like you made a typo. Try it again.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Jun 03, 2003 2:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mkluin]]></name></author>
		<updated>2003-06-03T14:02:29-04:00</updated>

		<published>2003-06-03T14:02:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21185#p21185</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21185#p21185"/>
		<title type="html"><![CDATA[Responding on bot lowercase and capital letters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21185#p21185"><![CDATA[
That didn't work. the bot doesn't respond on both lowercase and words with caps now.<br><br>the code i used was: set armor_a [string tolower[lindex $arg 1]]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2151">mkluin</a> — Tue Jun 03, 2003 2:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-03T11:13:04-04:00</updated>

		<published>2003-06-03T11:13:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21179#p21179</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21179#p21179"/>
		<title type="html"><![CDATA[Responding on bot lowercase and capital letters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21179#p21179"><![CDATA[
The script uses 'string tolower' on the $command var, but not $armor_a or $armor_b. Change the lines to say: set armor_a [string tolower [lindex $arg 1]]&lt;br&gt;<br>&lt;br&gt;<br>(repeat for each one)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Jun 03, 2003 11:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mkluin]]></name></author>
		<updated>2003-06-03T04:13:06-04:00</updated>

		<published>2003-06-03T04:13:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21169#p21169</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21169#p21169"/>
		<title type="html"><![CDATA[Responding on bot lowercase and capital letters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21169#p21169"><![CDATA[
hehe. i was editing the message the second you answered. look at my prevorious message please<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2151">mkluin</a> — Tue Jun 03, 2003 4:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-03T04:03:07-04:00</updated>

		<published>2003-06-03T04:03:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21168#p21168</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21168#p21168"/>
		<title type="html"><![CDATA[Responding on bot lowercase and capital letters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21168#p21168"><![CDATA[
No, it matters. Please paste the binds of your proc that is not working with capital letters as you've said.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Jun 03, 2003 4:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mkluin]]></name></author>
		<updated>2003-06-03T04:05:44-04:00</updated>

		<published>2003-06-03T03:39:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21167#p21167</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21167#p21167"/>
		<title type="html"><![CDATA[Responding on bot lowercase and capital letters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21167#p21167"><![CDATA[
when i check the script, it seems there already is a string like that in the script.<br><br>here is a part of the script that has the string tolower in it:<br><div class="codebox"><p>Code: </p><pre><code>   # check if valid command (armor)   if { [llength $arg] == 0 } {      putserv "PRIVMSG $channel :Unable to perform request, give command."   } else {       # get command and compare it to "armor"       set command [lindex $arg 0]       set command [string tolower $command]       if { [string compare $command armor] == 0 } {          # check if valid number of arguments            if { [llength $arg] &lt; 2 } {            putserv "PRIVMSG $channel :Please check the help function if you don't know how to use this command."          # command syntax is ok, process request          } else {            set armor_a [lindex $arg 1]            set armor_b [lindex $arg 2]            set armor_c [lindex $arg 3]            if { ($armor_a == "cloth") &amp;&amp; ($armor_b == "tunic") } { putserv "PRIVMSG $channel :Cloth Tunic costs 150 gold and has 10 Defense$</code></pre></div> <br><br><br>the problem is with $armor_a and $armor_b<br><br>when i use caps in those names (Cloth Armor) the bot won't answer at all.<br><br>Any idea how to fix it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2151">mkluin</a> — Tue Jun 03, 2003 3:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-03T02:38:20-04:00</updated>

		<published>2003-06-03T02:38:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21166#p21166</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21166#p21166"/>
		<title type="html"><![CDATA[Responding on bot lowercase and capital letters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21166#p21166"><![CDATA[
Yes, use the string tolower aka. strlwr. See <a href="http://tcl.activestate.com/man/tcl8.2.3/TclCmd/string.htm" class="postlink">this</a> page for instructions.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Jun 03, 2003 2:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mkluin]]></name></author>
		<updated>2003-06-03T02:35:20-04:00</updated>

		<published>2003-06-03T02:35:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21165#p21165</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21165#p21165"/>
		<title type="html"><![CDATA[Responding on bot lowercase and capital letters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21165#p21165"><![CDATA[
Hi,<br><br>I have a script that people can use to check stats on stuff they want to know.<br><br>But when they use caps in the names of the stuff, my bot doesn't respond.<br><br>Does anybody know how to fix this?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2151">mkluin</a> — Tue Jun 03, 2003 2:35 am</p><hr />
]]></content>
	</entry>
	</feed>
