Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - demonx

Pages: [1]
1
Programming using the Ultra Hal Brain Editor / hal brains
« on: June 14, 2008, 03:40:56 am »
Thanks for the replies guys. Maybe i didnt make my self clear i like the fact the hal unsensored has witty comebacks when you fight with the brain. The plugin gives the user a sense of im a person dont mess with me i will only take so much before i retaliate. It demands respect. Aristotle said somthing like what keeps people together is an exchange. I.e I insult hal and hal insults me back lol.
I also like the xtf brain because it tells jokes,trivia and is better with general user interaction. my aim is to take the best bits from each brain and program them into one. If i get hal 6.1 wont i still be in the same position. Wont i still be stuck with two plugins.

My aim is to place the jokes code from xtf and place it in the hal uncensored brain. Or put the witty come back code in the xtf brain.


2
Programming using the Ultra Hal Brain Editor / hal brains
« on: June 13, 2008, 08:05:59 pm »
I have just discovered hal 5 off my brothers pc. I have downloaded two plugins, hal uncensored and hal 5 xtf v 1.2. My question is how do i add:    
                               'x=x=x=x=x=x=x=x==vonsmith==x=x=x=x=x=x=x=x=x
'RESPOND: TELL JOKE AT USER'S REQUEST
'==vonsmith== 01-25-04
'If the user asks Hal to tell a joke, Hal will do so on request.
If HalBrain.TopicSearch(UserSentence, WorkingDir & "XTF_SYS_JokeDetect.brn") = "True" And GetResponseBlock <> True Then
   GetResponse = GetResponse & HalBrain.ChooseSentenceFromFile(WorkingDir & "XTF_SYS_Joke.brn")
   BlockSave = True  'Don't save User input when requesting a joke.
   DebugInfo = DebugInfo & "The user has requested Hal to tell a joke and Hal has done so: " & GetResponse & VbCrLf
End If
'x=x=x=x=x=x=x=x==vonsmith==x=x=x=x=x=x=x=x=x
     
Into hal uncensored. I have tried placing this code in various positions with no luck and only error messages. I dont know if I am placing the code in the wrong place, or if the variable names in this code need to be changed to the variable names used in hal unsensored. If so i can't work out what variable from hal uncensored i will need. If anyone knows anything it will be most appreciated.  

Thank You for the awsome plugins
   

Pages: [1]