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

	<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>2012-04-08T05:19:12-04:00</updated>

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

		<entry>
		<author><name><![CDATA[kingkong]]></name></author>
		<updated>2012-04-08T05:19:12-04:00</updated>

		<published>2012-04-08T05:19:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99171#p99171</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99171#p99171"/>
		<title type="html"><![CDATA[Bogus trivia non-english users answer problem.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99171#p99171"><![CDATA[
According to your words, I assume that your bot can accept Turkish chars. So, You don't need to recode or edit anything in tcl. <br>All you need to do is just to put both of answers in your question file. seperate the answers with * sign. just edit your answers in such questions as like that and bot will accept both(answer can be more than one or two) of the answers;<br><br>  question*answer1*answer2<br><br>in your case;<br><br>  question*Seytan*Şeytan<br><br>so, nothing else will need to do.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11957">kingkong</a> — Sun Apr 08, 2012 5:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Keen]]></name></author>
		<updated>2012-03-16T12:48:32-04:00</updated>

		<published>2012-03-16T12:48:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99053#p99053</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99053#p99053"/>
		<title type="html"><![CDATA[Bogus trivia non-english users answer problem.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99053#p99053"><![CDATA[
thank you caesar but im new in tcl. Can you implement this code for me to the <a href="http://www.mytclscripts.com/" class="postlink">bogus tcl</a>? Thank you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10458">Keen</a> — Fri Mar 16, 2012 12:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2012-03-16T01:30:51-04:00</updated>

		<published>2012-03-16T01:30:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99042#p99042</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99042#p99042"/>
		<title type="html"><![CDATA[Bogus trivia non-english users answer problem.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99042#p99042"><![CDATA[
You should use <a href="http://forum.egghelp.org/viewtopic.php?p=98740#98740" class="postlink">Johannes13</a>'s two function to encode and decode a text to and from Turkish to English instead of the regsubs.<div class="codebox"><p>Code: </p><pre><code>proc enc v {  subst [regsub -all {[^a-zA-Z0-9\-_\.~]} [encoding convertto utf-8 $v] {[format %%%02X [scan {\0} %c]]}]}proc decode v {  encoding convertfrom utf-8 [subst -nocommands -novariables [regsub -all {%([a-fA-F0-9]{2})} $v {\u\1}]]} </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Mar 16, 2012 1:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Keen]]></name></author>
		<updated>2012-03-15T22:32:48-04:00</updated>

		<published>2012-03-15T22:32:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99040#p99040</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99040#p99040"/>
		<title type="html"><![CDATA[Bogus trivia non-english users answer problem.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99040#p99040"><![CDATA[
Hello many of my users come from english speaking countries. So <a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=1373" class="postlink">bogus trivia</a> must accept both non-english and english char answers. <br><br>For example if the answer of the question is "Şeytan" the english speaking users cant type Şeytan they have to write seytan/Seytan because there is no turkish chars in ther computer. But the bogus trivia bot does not accept this answer. can we make it with a code such this?<blockquote class="uncited"><div> regsub -all {ğ} $tx "g" tx<br> regsub -all {Ğ} $tx "G" tx<br> regsub -all {ü} $tx "u" tx<br> regsub -all {Ü} $tx "U" tx<br> regsub -all {ş} $tx "s" tx<br> regsub -all {Ş} $tx "S" tx<br> regsub -all {ı} $tx "i" tx<br> regsub -all {İ} $tx "I" tx<br> regsub -all {ö} $tx "o" tx<br> regsub -all {Ö} $tx "O" tx<br> regsub -all {ç} $tx "c" tx<br> regsub -all {Ç} $tx "C" tx</div></blockquote>i want bot accept both Ç and C hars but i dont know how to do. thank you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10458">Keen</a> — Thu Mar 15, 2012 10:32 pm</p><hr />
]]></content>
	</entry>
	</feed>
