steps = 3
function Action(step)
if step == 0 then
reaper.MB('step'..step+1,'',0)
elseif step == 1 then
reaper.MB('step'..step+1,'',0)
elseif step == 2 then
reaper.MB('step'..step+1,'',0)
end
end
cur_key = reaper.GetExtState( 'test', 'step' )
if not tonumber(cur_key)...