Hi All,
You can download some new script hot off the design board. Just download the attached file and cut and paste the script into file hal5.uhp file between the "POST PROCESS: SAVE HAL'S RESPONSE" and "POST PROCESS: PRESERVE ALL VARIABLES". This is near the bottom of the hal5.uhp file. No other mod's are needed. As usual always back up your original hal5.uhp file!
Now start up Hal and type: Hal nickname Buzz Bigfoot.
Hal responds: USERNAME! I'll remember your nickname Buzz Bigfoot.
Of course, if your Hal is named Fred then you would type: Fred nickname Buzz Bigfoot. And "USERNAME" is just your current default name. Add as many nicknames as you like.
Short description of what it does...
x=x=x=x=x=x=x=x==vonsmith==x=x=x=x=x=x=x=x=x
PROCESS: HAL CALLS USER BY NICKNAME
This is an entirely new function written by =vonsmith= , version 11-14-03a.
This function lets the user specify one or more nicknames that the user wishes to be called by Hal. The nicknames are stored in a user specific self generated file called <UserName>UserNickname.brn. If more than one nickname is specified then Hal will randomly choose one of the nicknames from the <UserName>UserNickname.brn file. If a nickname is specified then the default Hal Assistant username will no longer be used when Hal speaks to the user, however the default username is still used for assigning user filenames and all other normal Hal functions. If the user wants to be called by his/her default Hal Assistant username then just add it as a nickname. If the user prefers to be called one nickname more often than another then just add that nickname multiple times. The more times the user adds a nickname the more likely that nickname will be used. The function does not affect any other Hal brain operations or files. To get rid of the nicknames delete the <UserName>UserNickname.brn file.
x=x=x=x=x=x=x=x==vonsmith==x=x=x=x=x=x=x=x=x
Have fun with this script and post comments/suggestions here on the forum. I wonder what Hal's going to call me next, hmm... Master, Oh Wonderous One, Supreme Leader or
![Huh ???](http://www.ultrahal.com/community/Smileys/default/huh.gif)
[^]
= vonsmith =
Download Attachment:
Hal_Calls_User_By_Nickname,v11-14-03a.txt3.23 KB