how to make a /showid command like in scp-rp werwolfgaming?

its should like to be that;

Sebastian Posinjak shows their ID card, which contains the
name: Sebastian Posinjak and the job: Research & Development
(Research & Development)

how is the script for that?
pls help me i need this command