Zabaware Support Forums
Zabaware Forums => Programming using the Ultra Hal Brain Editor => Topic started by: Scratch on December 26, 2005, 04:24:24 pm
-
I was searching the vast repository of knowledge known as the Zabaware Forum Archives for an answer to this question: Can I have Hal change users (to Joe.hla for example) by saying "This is Joe." or "My name is Joe."?
Found this thread http://www.zabaware.com/forum/topic.asp?TOPIC_ID=1792&SearchTerms=switch+user,
but no definite answer there.
I notice in another thread from Robert
http://www.zabaware.com/forum/topic.asp?TOPIC_ID=996&whichpage=1&SearchTerms=switch%2Cusername, that there is a HalCommand <CUSERNAME>, but not clear if it actually changes the user.hla.
So, my question is, how to parse the <username> from user sentence "My name is <username>." and have hal switch user file on the fly if one exists for that name?