adjustCurrency

API - adjust currency of a target user (sets their currency to specified a amount)

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

Last updated