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

	<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>2004-12-22T18:51:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-22T18:51:05-04:00</updated>

		<published>2004-12-22T18:51:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44393#p44393</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44393#p44393"/>
		<title type="html"><![CDATA[Trying to decrypt blowfish]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44393#p44393"><![CDATA[
this is in a wrong forum, but anyway:<br><br>try to get an error traceback with .set errorInfo<br><br>your proc has syntax errors, you probably meant $doarg, not $darg; also, I don't see $procs declared as global<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Dec 22, 2004 6:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dw33p]]></name></author>
		<updated>2004-12-22T07:17:48-04:00</updated>

		<published>2004-12-22T07:17:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44365#p44365</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44365#p44365"/>
		<title type="html"><![CDATA[Trying to decrypt blowfish]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44365#p44365"><![CDATA[
Hej, <br><br>Im making a new script, wich should be able to use blowfisch.<br>The encryption part goes ok, but im having troubles with the decryption command.<br><br>Here a few code snippets<br><div class="codebox"><p>Code: </p><pre><code>#the blowfish settingsset response(USEBLOW) 1set response(BLOWKEY) "f0rt3sting0nlyatthismoment!"set response(BLOWHEADER) "+OK"#the binding of incoming encrypted thingsbind pub -|- [set response(BLOWHEADER)] proc_decrypt#the decrypting procproc proc_decrypt { nick uhost hand chan arg } {global usedproc responseset commandline [decrypt $response(BLOWKEY) $arg]    set docommand [lindex $commandline 0]    set doarg [lrange $commandline 1 end]foreach curproc $procs {    set curproc [split $curproc :]    if { $docommand == [subst [lindex $curproc 0]] } {    [lindex $eachproc 1] $nick $uhost $hand $chan $darg    return    }    }}</code></pre></div>Afaik this should be right. I looked at other scripts using blowfish enc/decryption and it seems to work there.<br>But... im getting this wierd error that the proc proc_decrypt is missing an argument:<br><br>[13:55] Tcl error [proc_decrypt]: no value given for parameter "hand" to "decrypt"<br><br>Kinda wierd, caus if i remove the hand argument, it says the proc is getting called with to many arguments.<br>Can someone help me with this strange problem?<br><br>dw33p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5826">dw33p</a> — Wed Dec 22, 2004 7:17 am</p><hr />
]]></content>
	</entry>
	</feed>
