translateCommand

API - Used for getting the real translation settings of a command

return function()
    local app = getApp();
    local avatarCmd = app.translateCommand('avatar');
    
    log(avatarCmd); --this will now be the user's custom input for the command!
    --if the user changed the command fromn  avatar to character
    --it would log 'character')
    
    --this is useful for making a lua script that functions for users without worrying
    --about their settings
end

Last updated