Give coins to player using chat?

how to give coins to player using chat with the Coins Function like this:
/coin (player name) (coins value)

and it will show a message in the chat like:
(player that got the coins) got (amount of coins that the player got)

and yes i have a game with advanced tier.