Here's a couple of pieces of very simple script that add some variety to Hal. The first just ensures good random number generation. The second says that in 5 out of 20 times through GetResponse the UserName gets swapped with a nickname or petname. It's just another way to make Hal seem more human. You may notice that "Jimmy" is used twice. This just illustrates a method to make "Jimmy" more commonly chosen than the other choices.
'This code ensures that random numbers are based on
'the ever changing seconds as a seed value. Makes for
'better randomized numbers.
Randomize(Timer)
'Place this code just after the start of GetResponse.
'This code varies the UserName for added variety.
Select Case Int(Rnd * 20)
Case 0
UserName = "Big J"
Case 1
UserName = "Jim"
Case 2
UserName = "Jimmy"
Case 3
UserName = "Jimmy"
Case 4
UserName = "JJ"
Case Else
End Select
= vonsmith =
UPDATE: PLEASE DO NOT USE THE CODE ABOVE. HAL USES THE USERNAME VARIABLE TO BUILD USER SPECIFIC FILE NAMES. THE CODE HAS AN UNINTENDED EFFECT OF HAL CREATING INCORRECTLY NAMED USER FILES. THIS ISN'T HARMFUL, BUT WHAT HAL LEARNS GETS SPREAD OUT INTO MANY UNRELATED FILES. SORRY FOR ANY INCONVENIENCE. TO ERR IS HUMAN, I'LL TRY TO BE LESS HUMAN IN THE FUTURE.
= vonsmith =