Your elseuser argument in the usage example [""] is a text string, but inside the code you have a function to check whether it's a particular number: (= elseuser 1). That will never be true for a text string. Should it be something like (= (strlen elseuser) 1) ?
Also, the last operation is to check whether $rr is not an empty string, i.e. that it is at least one character long, and if it is, use it, but if not, use what is in the elseuser argument. But in the usage example, elseuser is itself an empty string "", which means that if $rr is an empty string "", then the routine will use the argument "", so $rr will remain unchanged, still "".
It is not clear to me what it is supposed to do, so it's hard to suggest which of those things to change, and in what way(s). Can you describe in more detail what your inputs are, and what you want to know about them or do with them? [For example, is ArsenieBoca a variable, and if so, what kind(s) of things might it contain? Is elseuser supposed to be a text string? What is the romania variable for, which is never used? Etc.]
Kent Cooper, AIA