If you did not understand that(I am horrible at explaining things) try this makeshift code I just coded that I know will not work because it would say d.goldcoins is undefined.
mob/Owner
verb
Send_Gold_Coins()
set category = "GM"
if(usr.key != "SadoSoldier")
alert("Sending players coins, without my permission, WILL result in a ban no matter who you are!")
var/d = input("Please input their key:") as text
if(fexists("players/[d]"))
var/c = input("How many Gold Coins?") as num
d.goldcoins += c
else
usr<<"<b>There is noone by that key!"
return
<dm>
That is just an example, so how would I go about this?