Yeah, variables have that ability too.
The only scripting approach would be to make a loop and iterate through a range, like
for i in 1..10
$game_variables[i] = 100
end
$game_map.need_refresh = true
which would set variables 1 through 10 to a value of 100. The game map refresh at the end is needed for events to update their page conditions (you have to do the same thing with switches too).