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

	<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>2008-01-20T08:59:43-04:00</updated>

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

		<entry>
		<author><name><![CDATA[tueb]]></name></author>
		<updated>2008-01-20T08:59:43-04:00</updated>

		<published>2008-01-20T08:59:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80212#p80212</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80212#p80212"/>
		<title type="html"><![CDATA[random letter [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80212#p80212"><![CDATA[
thx for that as well^^<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9349">tueb</a> — Sun Jan 20, 2008 8:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2008-01-20T07:07:48-04:00</updated>

		<published>2008-01-20T07:07:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80211#p80211</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80211#p80211"/>
		<title type="html"><![CDATA[random letter [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80211#p80211"><![CDATA[
To have alphanumerics you could do a rand() * 60 and check if the result is &lt;= 10 and add 48, or is &lt;= 36 to add 55 and else add 61. (I didn't test the exact result, the adds are +/-1 therefore ^-^)<br>Just as a remark for the future.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sun Jan 20, 2008 7:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tueb]]></name></author>
		<updated>2008-01-05T15:24:01-04:00</updated>

		<published>2008-01-05T15:24:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79824#p79824</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79824#p79824"/>
		<title type="html"><![CDATA[random letter [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79824#p79824"><![CDATA[
works fine, thx =D<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9349">tueb</a> — Sat Jan 05, 2008 3:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-01-05T12:23:53-04:00</updated>

		<published>2008-01-05T12:23:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79820#p79820</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79820#p79820"/>
		<title type="html"><![CDATA[random letter [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79820#p79820"><![CDATA[
Use something like this to generate the random letters:<div class="codebox"><p>Code: </p><pre><code>#Generating uppercase characterformat "%c" [expr 65 + [rand 26]]</code></pre></div><div class="codebox"><p>Code: </p><pre><code>#Generating lowercase characterformat "%c" [expr 97 + [rand 26]]</code></pre></div>Then simply use one of the digits as your regular expression, and the other as the character to replace with. Use the -nocase option if you'd like the matching to be case-insensitive (will not alter the replacing character however).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Jan 05, 2008 12:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tueb]]></name></author>
		<updated>2008-01-06T05:54:45-04:00</updated>

		<published>2008-01-05T11:39:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79819#p79819</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79819#p79819"/>
		<title type="html"><![CDATA[random letter [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79819#p79819"><![CDATA[
Hi,<br><br>I'm looking for a way to "regsub" a random letter with another random letter. is there an easy way to do that?<br><br>thx,<br><br>t.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9349">tueb</a> — Sat Jan 05, 2008 11:39 am</p><hr />
]]></content>
	</entry>
	</feed>
