foo(id) { new buf[15] get_user_info(id, "lefthand", buf, charsmax(buf)) if (str_to_num(buf) == 1) { // set lefthand model } else { // set righthand model } }