No apologies needed, just trying to understand what it is you want to accomplish.
Please try to explain or comment on the following questions.

1. If @USERID = @WKSTA write to what Registry Key? and what information?
2. If @USERID does not = @WKSTA Quit and don't do anything else, or check if the SrvComment = @FULLNAME ?
3. If SrvCommnet = @FULLNAME write to what Registry Key? and what information?
4. If SrvCommnet does NOT = @FULLNAME Quit and don't do anything else?

What information do you want to write to the registry, and what registry key?