1. Decide which pattern to use for the alias
2. Write a sendtoalias() function
3. Create an alias
4. Test it
5. If it works, tell others how to use it
6. If it doesn't work, make it work
1. No special pattern used in namecoin itself, use the alias directly
2. Code is available here (new rpc command sendtoalias) :
https://github.com/khalahan/namecoin3. The existing alias is "khal" (stored in namecoin as "id/khal") and contains that data :
{
"email" : "
khal@dot-bit.org",
"bitcoin" : "1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T",
"namecoin" : "N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9"
}
4. Use the command below to send me 2NMC :
namecoind sendtoalias khal 2
The coins will be sent to my namecoin address N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9.
5. Copy/paste the sendtoalias function in other softwares and add a part to do a name_show query to namecoin (namecoin has a direct database access so it doesn't need it).
6. Beta phase is here to tell us

Things may change a bit if needed, so consider this a beta phase.