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.


Topics - spydaz

Pages: 1 2 3 [4]
46
Ultra Hal Assistant File Sharing Area / 'SMOKING SCRIPTS
« on: March 01, 2004, 04:39:38 pm »
'This IS MY FIRST PLUGIN created while chatting to a chatbot called
'AIM: VAVAVIRGIL who is always spouting facts about smoking.
' i thought it would be usefull if i could figure out how to respond
'to this. One problem which i have not been able to figure out is.
'HOW TO MAKE THE Q&A section of this code...... HELPME PLEASE ANYONE ..

'Also How Do i Add These Files To the MENU inside THE EDITOR

' This code was adapted from other codes found across the FORUM.
' I HAVE FOUND THE FORUM A USEFUL TRAINING RESOURCE *VONSMITH* *CUTTING EDGE* *MAVERICK* *DON* to name a few.

' THIS SCRIPT IS TRANSFERABLE
' I USE THIS SCRIPT TO PUT MY OWN SPECIFIC TOPICS IN TO HAL
' Please feel free to adapt this code for yourown spcific topics

' although XTF BRAINS & ATF BRAINS ARE wonderfull.  SOMETIMEs They Pickup a lot of BOGUS information, this help you to direct hal to specific KNOWLEDGE.

'SMOKING SCRIPTS

'hal hates smoking he has many facts reminding you of the fact



'------Check Keyword Trigger----------------------------------------

If HalBrain.TopicSearch(OriginalSentence, WorkingDir & "KEYWORDSMOKING.brn") = "TRUE" Then
AnswerSent = "" & Trim(OriginalSentence)


'-----Edit Learned file ------
'---NB: this file you will have to sensor and copy new data to the statementSMOKING.brn---

HalBrain.AppendFile WorkingDir & "SMOKING" & ".brn", AnswerSent
End If


'------IF KEYWORD TRIGGER THEn LOOKIN STATEMENT FOR RESPonSE--------

If HalBrain.TopicSearch(OriginalSentence, WorkingDir & "KEYWORDSMOKING.brn") = "TRUE" Then
Smoking = HalBrain.ChooseSentenceFromFile(WorkingDir & "statementSMOKING.brn")


'------CHECK DEBUG INFO ---------------------------------------------

GetResponse = Smoking & VbCrLf
DebugInfo = DebugInfo & "The user is talking about smoking: " & Smoking & VbCrLf
Else
DebugInfo = DebugInfo & "Hal has found nothing about smoking: " & Smoking & VbCrLf
End If

'--------WANTED Q&A SCRIPT -----------------------------------------------------

files needed

KEYWORDSMOKING.BRN  
statementSMOKING.brn
smoking.brn

[8D][:D]

Download Attachment: Smoking Scripts.zip
5.11 KB

Download Attachment: statementSMOKING.brn
7.73 KB

Download Attachment: KEYWORDSMOKING.brn
532 Bytes

Download Attachment: smoking.brn
1.55 KB

47
Firstly ConGrataulations. The Software is definatly a sucess
I Love It Hal5 Yep GOOD.

I Have downloaded And Placed in my brain Numerous scripts

Deductive, Comprehensive, auto topic, teach scripts, phd, well quite a few as you could imagine. a lot of stuff HIDDEN away on this site. He He He...
You do have to read a lot of things in the fourum.

After downloading the scripts (even the ) Genius5d brain.

i need help

how do i get all these teachfile *.BRN and *detect.BRN files to come up int the normal Brain Editor

I Greatly respect all those who have contributed scripts to the fourum.
but after a while you get caught up ploping them in that you forget that the key files *.BRN and *detect.BRN now need to be edited.
Ive Basically Forgotten most of the addon file names

Couldnt somebody Help me With the menu script.


and by the way what is the point of the advance brain options if none of the brains have any.

I would like to post my UhP Brainfile (THE SUPER BRAIN) Up How
320Kb


By The way it runs a little slow...

I did make my bot chat to himself by signing in twice with AimBot in the HAL Very Interesting coversations between the different brains.
Spy_DAZ@hotmail.com

My AIM BOT IS CALLED Xspydaz

He is on most of the time - he love talking to QuantumHAL, SmarterCHILD & VaVaVirgil. the most stable bots so far found Everyone else is OFF.




Thank Spydaz.



Pages: 1 2 3 [4]