Create a /ano command

Hello, I would like to create an order that : as you walk in the chat "/ ano " + message it marks in the chat [ Anonymous ] < message> without marking the nickname of the player how?

Thank’s you

[editline]19th July 2015[/editline]


function ISaid( ply, text, public )
    if (string.sub(text, 1, 4) == "!ano") then
        return "[Anonyme]"..string.sub( text, 5 );
    end
end
hook.Add( "PlayerSay", "ISaid", ISaid );

It is a code !

but it’s simple say

Only the person who looks at the side post

[editline]19th July 2015[/editline]

it has been 2 days that I look for, I do not find anything about it : p

U need to broadcast a net message, and send with it a string.

Can you do me or anyone if it is not too long that shook super nice because I can not do : p

[editline]19th July 2015[/editline]

it is ?


net.Start( "NETHOOK" )
	net.WriteString( "some text" )
net.Broadcast()

Would have helped but im on my phone atm.
If ill get home and this wont be answererd ill be happy to help you continue it.

okay perfect.

[editline]19th July 2015[/editline]

Nobody in the solution?