Hmm
That code is the same what i has just another variable:
Example: elseif ($vcmp.nameid($3) == $null) vcmp.adminmsg %id Error: Invalid ID.
I has the same too, anyway if i use your code my script didnt start.
Because my script not accept "elseif" command sometimes only "if" and "else"
But i dont understound why the name variables dont work, because if i write !testgoto fghzt --> it says invalid ID, but if i write correct name than its not work, teleport me to the center of the golf stage... strange.