isFake {get}

API - "fake" is an avatar spawned from other places than via your chatroom.

return function()
    local app = getApp();
    
    local user = app.getUserFromData('clonzeh');
    if user == nil then
        log('user does not exist!');
        return;
    end
    if user.isFake == false then
        log('this is an actual viewer.');
    end
end

Last updated