ID:146296
 
Code:
mob/verb
Comments(M as message)
Killer22 <<"[usr]: [M]"

mob/var
Killer22="Killer22"


Problem description: i need it so it sends the message me, help please

No no no. mob/var/Killer22 would just be a text variable. Get it? Simply text.

If you want a verb that'll send someone with the key Killer22 a message then you need a way to refer to Killer22. A text variable wouldn't do that. A mob var would. But you can't hard-code that variable since Killer22 won't ALWAYS be in the game.

Something to this effect would be better:

mob/verb
Comments(T as message)
for(var/mob/M in world) //loop through every single mob in the game - we need to find Killer22 between all those mobs.
if(M.key=="Killer22") //if one of those people in the world have a key called Killer22
M <<"[usr]: [T]" //tell M (who should have the key Killer22) that the person who used the verb is saying that message




In response to DeathAwaitsU
ahh, ok, thanks for the help