For the complete documentation index, see llms.txt. This page is also available as Markdown.

๐Ÿ›‚Custom Action via export

Use the following code structure to integrate custom actions, tailored to your server:

exports["17mov_SpeechRecognition"]:NewAction({
    phrases = {
        "recognition test",
        -- Make as much phrases for this action you want.
    },

    blockInVehicle = true,

    actionType = "event",
    eventType = "client",
    eventName = "17mov_SpeechRecognition:TestPhrase",
    arguments = {
        arg1 = "17movement.net",
    },

    -- actionType = "executeCommand",
    -- commandString = "e flip",

    -- actionType = "custom",
    -- actionFunction = function(recognizedSentence)
    --     -- Add here ur custom code
    -- end,
})

Last updated