First, to aladyblond... I think Hal6 will prove to be a major step in the evolution of UltrHal from a few lines of code towards a true AI. How would your UltraHal feel about being kept back while the others are evolving?[

]
Ponnfar - I had success with passing the UserName variable to the auto idle plug-in using Grant's suggestion, but not the PrevUserSent. PrevUserSent just reads as a value of "1". Any of you programmers know why this would be? Here's the code (written by Grant & OTC) I tested it with:
Rem Type=Plugin
Rem Name=auto idle w/ username
Rem Author=Grant Garmonsway
Rem Host=Assistant
'This sub setups the plug-ins option panel in Hal's options dialog
Sub OptionsPanel()
lblPlugin(0).Caption = "This small plugin tests Hal's Auto Idle
functionality using UserName and PrevUserSent."
lblPlugin(0).Move 120, 120, 3300, 1200
lblPlugin(0).WordWrap = True
lblPlugin(0).Visible = True
End Sub
Rem PLUGIN: FUNCTIONS
Dim LastIdleResponse
Dim IdleUserName
Dim IdlePrevUserSent
Rem PLUGIN: PLUGINAREA7
LastIdleResponse = Now
IdleUserName = UserName
IdlePrevUserSent = PrevUserSent
Rem PLUGIN: MINUTE_TIMER
If LastIdleResponse <> "" Then
If Now - LastIdleResponse > 0.001 Then
Select Case HalBrain.RandomNum(2)
Case 1
IdleResponse = IdleUserName & ", are you there?"
Case 2
IdleResponse = "You said " & IdlePrevUserSent
End Select
If Rnd < 0.99 Then
HalMenu.HalCommand "<SPEAK>" & IdleResponse &
"</SPEAK>"
End If
End If
End If