You know how if you were to type findclientbyname("Badspot").dump();
it will give you a bunch of information on the player, "Badspot"
And you know if you were to be looking at Badspot and type into the chat /getid
it would give you Badspot's numberthingy which you can use for like '586362.player.addvelocity("0 0 200");'
Basically I want to make a function like where you can do a servercmd and get the numberthingy without looking at the player.
for example I type into the chat /locateid Badspot and it will get me Badspot's /getid, numberthingy...thingy :)