mob/verb/Speak(mob/M in world, t as text)
M<<[usr.name] speaks to M[usr.name] [t]"
problem: im a new coder and im trying to learn to make my own codes.. i need to make it so that with this code a player can speak to a player without any unwanted players seeing the text...hellp?
ID:154990
Oct 18 2011, 1:11 pm
|
|
In response to Avainer1
|
|
thanks bro, i use the guide lol...i just had a little trouble with the M[usr.name which as you said was indeed [M.name] haha thanks man
|
Well, hello. Your code should do, were you facing any problems with it? You forgot to use "" I suggest reading BYOND programming(coding) guides.
It should be
M<<"[usr.name] speaks to [M.name]: [t]"
Link to various guides:
http://www.byond.com/developer/articles/start