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

	<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>2002-11-15T14:54:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-11-15T14:54:55-04:00</updated>

		<published>2002-11-15T14:54:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13210#p13210</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13210#p13210"/>
		<title type="html"><![CDATA[Encrypter Problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13210#p13210"><![CDATA[
If you have { } around your text, you're probably passing the function a list ($args) when it wants a string.<br><br>To go through each character of a string, use this:<br><br>foreach char [split $text ""] {<br>  ...<br>}<br><br>To turn a char into a number, use the "scan" command like ppslim said.<br><br>From the man page: scan string format ?varName varName ...?<br><br>So your string is $char, and your format is "c". You choose the varname.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Nov 15, 2002 2:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spyda]]></name></author>
		<updated>2002-11-15T05:57:08-04:00</updated>

		<published>2002-11-15T05:57:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13193#p13193</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13193#p13193"/>
		<title type="html"><![CDATA[another problem!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13193#p13193"><![CDATA[
When a nick has of course {}()_ or any of them other ones.. I have been working on my script and still cant make it take the {} from around value for the last two days.. I have come to my last idea!<br><div class="codebox"><p>Code: </p><pre><code>while {$asus_number &lt;= [string length [lrange $msg 0 end]]} {  set asus_key [string index [split $asus(key)] $asus_poss]  set asus_word [string index $msg $asus_quest]</code></pre></div>It works file with normal nicks.. but i can;t get it to work with nick with them chr in it.. I have looked at <a href="http://www.soft.net.uk/staffs/eggdrop/characters.html" class="postlink">http://www.soft.net.uk/staffs/eggdrop/characters.html</a> and still dont totally understand it... I hope someone can just give me a bump in the right direction.<br><br>------------<br>ThePope<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1731">spyda</a> — Fri Nov 15, 2002 5:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-11-08T19:59:43-04:00</updated>

		<published>2002-11-08T19:59:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12961#p12961</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12961#p12961"/>
		<title type="html"><![CDATA[Encrypter Problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12961#p12961"><![CDATA[
You can do this using the scan command.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Nov 08, 2002 7:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spyda]]></name></author>
		<updated>2002-11-08T19:39:22-04:00</updated>

		<published>2002-11-08T19:39:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12959#p12959</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12959#p12959"/>
		<title type="html"><![CDATA[Encrypter Problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12959#p12959"><![CDATA[
I started to write a encrption program that will work with my mirc one. But i cant get it to tell me what the number of the $chr is.<br><div class="codebox"><p>Code: </p><pre><code>Mirc. : $calc($asc($mid($1-,%enc.letter,1))+$asc($left(%key,1))Tcl : [expr [string index [split $vasus] $asus_quest]]] + [string index [split $vasus] 0]]]</code></pre></div>But i cant work out how get use $asc in TCL.. looked everywhere (about 5 hours all up) hope some one can help me<br><br>------------<br>ThePope<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1731">spyda</a> — Fri Nov 08, 2002 7:39 pm</p><hr />
]]></content>
	</entry>
	</feed>
