removeCurrency

API - remove currency to a target user

return function()
    local findUser = getUser('clonzeh');
    
    if findUser ~= nil then
        local balance = getCurrency(findUser);
        log(findUser.displayName .. ' has: ' .. amount);
        
        success, balance = removeCurrency(commandUser, 100); 
        log(success .. '! user currently has ' .. balance); 
    else
        log('could not find target user');
    end
end
pageUser

Last updated