ItemModuleVoiceCommandDetect CallableItemModuleVoiceCommandDetect(msg, TriggerValues): number[]Detects specific voice commands from a chat message. This is shared by most voice-detection items that pass in their configured trigger values, and gives back the matching indexes of those.Parametersmsg: stringTriggerValues: readonly string[]Returns number[]
Detects specific voice commands from a chat message.
This is shared by most voice-detection items that pass in their configured trigger values, and gives back the matching indexes of those.