hey ppls..
i've generated a megaHAL brain..
i was wondering, is it possible to make vb.net 2008 work with megahal?
thanks..
Printable View
hey ppls..
i've generated a megaHAL brain..
i was wondering, is it possible to make vb.net 2008 work with megahal?
thanks..
What is "megahal"?
Oh I see. You say you've "generated a megaHAL brain..", what do you mean by that?
i've made an irc bot, and i want the project to use megahal etc. <User>: scriptkid how are you?
(here it sends to megahal "scriptkid how are you?"
and it comes up with "im just fine" and then send it:)
<scriptkid(using megahal)>:im just fine
Cool, checked out the site. Reminds me of Eliza and some work I did using LISP.
I don't see why you couldn't use any of the .NET languages to link to it.
Actually, out of curiosity, I just downloaded the Win95 port of MegaHAL and was able to interact with it just fine using some simple VB.NET code:
Code:Private Sub StartMegaHAL()
Dim myProcess As Process = New Process()
myProcess.StartInfo.UseShellExecute = False
myProcess.StartInfo.CreateNoWindow = True
myProcess.StartInfo.RedirectStandardInput = True
myProcess.StartInfo.RedirectStandardOutput = True
myProcess.StartInfo.RedirectStandardError = True
myProcess.StartInfo.FileName = "megaHAL.exe"
Dim sOut As System.IO.StreamReader
Dim sIn As System.IO.StreamWriter
myProcess.Start()
sOut = myProcess.StandardOutput
sIn = myProcess.StandardInput