I'm using RMXP. I'm trying to compare variables to find the largest value. I found this script
v = $game_variablesm = [v[26], v[27], v[28], v[29] v[30]].maxr = []r.push(26) if v[26] == mr.push(27) if v[27] == mr.push(28) if v[28] == mr.push(29) if v[29] == mr.push(30) if v[30] == m$game_variables[41] = r[rand(r.size)] but it seems to keep coming up as an error. I don't have much experience programming, so any help would be nice
v = $game_variablesm = [v[26], v[27], v[28], v[29] v[30]].maxr = []r.push(26) if v[26] == mr.push(27) if v[27] == mr.push(28) if v[28] == mr.push(29) if v[29] == mr.push(30) if v[30] == m$game_variables[41] = r[rand(r.size)] but it seems to keep coming up as an error. I don't have much experience programming, so any help would be nice