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

	<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-09-03T11:43:03-04:00</updated>

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

		<entry>
		<author><name><![CDATA[TeDDyBeeR]]></name></author>
		<updated>2003-09-03T11:43:03-04:00</updated>

		<published>2003-09-03T11:43:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26331#p26331</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26331#p26331"/>
		<title type="html"><![CDATA[Channels with strange Chars and File writeing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26331#p26331"><![CDATA[
Never mind, i have used de encryption and decryption to write to the file...<br><br>thx anyway for the one who can help me anyway's but it's not a problem anymore <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>regards,<br>TeDDyBeeR<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3774">TeDDyBeeR</a> — Wed Sep 03, 2003 11:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TeDDyBeeR]]></name></author>
		<updated>2003-09-02T07:23:25-04:00</updated>

		<published>2003-09-02T07:23:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26180#p26180</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26180#p26180"/>
		<title type="html"><![CDATA[Channels with strange Chars and File writeing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26180#p26180"><![CDATA[
dear reader, <br><br>i have a problem with channels that been stored in a file <br>and must readed as channel where the command is given in<br><br>this is the code part :<div class="codebox"><p>Code: </p><pre><code>   if {([strlwr $arg] == "on")} {      set allvoicechannels 0      set readin [open ${allvoicefile} r]      while {![eof $readin]} {         set raw_initdata [gets $readin]         if {[eof $readin]} {break}         if {${raw_initdata} == [strlwr $chan]} {            set allvoicechannels 1            break         }         continue      }      close $readin      if {$allvoicechannels == 1} { putserv "NOTICE $nick :Channel $chan is already in my Allvoice List" ; return 0 }      set create [open ${allvoicefile} a]        puts $create [strlwr $chan]      close $create      set allvoicechannels 0      set readin [open ${allvoicefile} r]      while {![eof $readin]} {         set raw_initdata [gets $readin]         if {[eof $readin]} {break}         if {${raw_initdata} == [strlwr $chan]} {            set allvoicechannels 1            break         }         continue      }            close $readin      if {$allvoicechannels == 1} { putserv "NOTICE $nick :Channel $chan succesfully added to my Allvoice List" ; return 0 }        }</code></pre></div>The Channel is : mp³{zone} <br>This file wirte the channel in the file as : #mpÂ³{zone}<br><br>On the putlog and on channel it puch the same name out, whilt it will not be the same by de code:<div class="codebox"><p>Code: </p><pre><code>on partyline : [12:55] &lt;DragonSlayer&gt; [12:55] readin : #mp³{zone} of channel #mp³{zone}on chanel : [12:58] &lt; DragonSlayer &gt; Channel #mp³{zone} is readed, #mp³{zone} must it be ?</code></pre></div>Th fisrt of the channelnames are the $raw_initdata the second channel is teh $chan value<br><br>What must i do to get the good check that when $raw_initdata == $chan?<br><br>On normal channel like #trivia, the script is doning what he must do!<br><br>Greets TeDDyBeeR<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3774">TeDDyBeeR</a> — Tue Sep 02, 2003 7:23 am</p><hr />
]]></content>
	</entry>
	</feed>
