I did create another function, $qkeys in a different thread. This is simplified version of $INQUIRE, that just takes keypresses to either run a command, or present a menu if array contained another array.
See http://forum.mikrotik.com/t/a-few-undocumented-operators-that-are-kind-of-neat/163557/1
So for @Sertik’s case, the $qkeymap could set a global, on a keypress (not choice) but that might work. For example, changing $qkeymap to:
:global count 0
:set qkeysmap {
"+"={"+1";(>[{:global count; :set count ($count+1); :return $count}])}
"-"={"-1";(>[{:global count; :set count ($count-1); :return $count}])}
}
