unbindall

bind leftarrow "vstr demots-"
bind rightarrow "vstr demots+"
bind downarrow "vstr demots_0"
bind uparrow "vstr demots_1.0"

set demots- "vstr demots_0.8"
set demots+ "vstr demots_1.2"

set demots_0 "set timescale 0.0001; cl_freezedemo 1; set demots- vstr demots_0.0; set demots+ vstr demots_0.1; echo TimeScale 0.0;"
set demots_0.1 "set timescale 0.1; cl_freezedemo 0; set demots- vstr demots_0; set demots+ vstr demots_0.2; echo TimeScale 0.1;"
set demots_0.2 "set timescale 0.2; cl_freezedemo 0; set demots- vstr demots_0.1; set demots+ vstr demots_0.5; echo TimeScale 0.2;"
set demots_0.5 "set timescale 0.5; cl_freezedemo 0; set demots- vstr demots_0.2; set demots+ vstr demots_0.8; echo TimeScale 0.5;"
set demots_0.8 "set timescale 0.8; cl_freezedemo 0; set demots- vstr demots_0.5; set demots+ vstr demots_1.0; echo TimeScale 0.8;"
set demots_1.0 "set timescale 1.0; cl_freezedemo 0; set demots- vstr demots_0.8; set demots+ vstr demots_1.3; echo TimeScale 1.0;"
set demots_1.3 "set timescale 1.3; cl_freezedemo 0; set demots- vstr demots_1.0; set demots+ vstr demots_1.5; echo TimeScale 1.3;"
set demots_1.5 "set timescale 1.5; cl_freezedemo 0; set demots- vstr demots_1.3; set demots+ vstr demots_2.0; echo TimeScale 1.5;"
set demots_2.0 "set timescale 2.0; cl_freezedemo 0; set demots- vstr demots_1.5; set demots+ vstr demots_4.0; echo TimeScale 2;"
set demots_4.0 "set timescale 4.0; cl_freezedemo 0; set demots- vstr demots_2.0; set demots+ vstr demots_8.0; echo TimeScale 4;"
set demots_8.0 "set timescale 8.0; cl_freezedemo 0; set demots- vstr demots_4.0; set demots+ vstr demots_16.0; echo TimeScale 8;"
set demots_16.0 "set timescale 16.0; cl_freezedemo 0; set demots- vstr demots_8.0; set demots+ vstr demots_32.0; echo TimeScale 16;"
set demots_32.0 "set timescale 32.0; cl_freezedemo 0; set demots- vstr demots_16.0; set demots+ vstr demots_64.0; echo TimeScale 32;"
set demots_64.0 "set timescale 64.0; cl_freezedemo 0; set demots- vstr demots_32.0; set demots+ vstr demots_64.0; echo TimeScale 64;"