Identity card name and surname

Anyone have a script to create an identity card ? When you join the server for the first Time you have to write your name and surname. And when you Will connect the next Time you will get the name . When have to create a sql file to add the name and surname in database thx