%1 in welcome message is replaced with client name.
I thought you would make the connection.
Welcome message code is probably something along these lines:
messageClient(%client, '', '%2', %client.name, %welcomemessage);
Would doing that work? Finding a variable within a variable..