Yes, you can use a loop instead:
PHP Code:
function onActionSetMatchServer(match, vplayer, splayer) {
for (temp.i = 0; temp.i <= 10; temp.i++) {
if (match == i) makevar("serverr.sdematch" @ i) = {vplayer, splayer};
}
}
Please note that when defining names for parameters you do not use the temp. prefix to read their values.