rpn_setf(bound(f3, f2, f));
} else if(rpncmd == "when") {
f = rpn_popf();
- f2 = rpn_popf();
- f3 = rpn_getf();
+ s = rpn_pop();
+ s2 = rpn_get();
if(f)
- rpn_setf(f3);
+ rpn_set(s2);
else
- rpn_setf(f2);
+ rpn_set(s);
} else if(rpncmd == ">" || rpncmd == "gt") {
f = rpn_popf();
rpn_setf(rpn_getf() > f);
rpn_set(sprintf(s, rpn_get()));
} else if(rpncmd == "eval") {
s = rpn_pop();
- tokenize_console(strcat(s, substring(command, argv_end_index(rpnpos), -1)));
+ command = strcat(s, substring(command, argv_end_index(rpnpos), -1));
+ argc = tokenize_console(command);
rpnpos = -1;
} else {
rpn_push(cvar_string(rpncmd));