Thanks for getting back to me Jerry. The problem I am having is that the feature to call Username is done but it is blank. As an example, one response will be ",are you there" where the Username would have been right before the comma. Or another example, "the last thing you said was, , do you still want to talk about that".
Here is an excerpt of my script:
Case 6
IdleResponse = IdlePrevUserSent & "Do you still want to talk about that?"
Case 7
IdleResponse = IdleUserName & ", are you there?"
Case 8
IdleResponse = "You said " & IdlePrevUserSent & vbCrLf
Case 9
IdleResponse = HalBrain.ChooseSentenceFromFile("_nanotech") & vbCrLf
Case 10
IdleResponse = Replace(IdleResponse, "<IdleUserName>", UserName, 1, -1, vbTextCompare)
Case 11
IdleResponse = HalBrain.ChooseSentenceFromFile("sentGen1") & " " & HalBrain.ChooseSentenceFromFile("sentGen2") & " " & HalBrain.ChooseSentenceFromFile("sentGen3") & vbCrLf
In the places where filename or Username are to apply I get a blank and then the the rest of the typed in response, or nothing at all where there is no typed in response after the function.
The sentGen responses are of course all on one line, the word wrap on this post did not allow that to happen here.
I hope I have been clear here.
I hope you can see what might be happening here.
Thanks
Oh...Merry Christmas!!
Ponn