|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AIC. - Artificial Intelligence Command |
AIC.GetLastQuestion |
Top |
MiniRobotLanguage (MRL)
AIC.GetLastQuestion
DESCRIPTION
Intention
Retrieves the last question or prompt sent to the AI from the conversation history. This command returns the most recent user message that was submitted to the AI model, useful for logging, debugging, or displaying conversation context.
Syntax
AIC.GetLastQuestion
Example
' Retrieve the last user prompt
AIC.Chat|"Explain gravity"
lastPrompt = AIC.GetLastQuestion