Sending server a variable

How can I send the server a variable from a client? I want to send the text entered into a derma menu by sending the information through net.Send when the okay button is pressed. I want to set the GetValue to a variable and set that as a string and send it to the server.

[editline]12th May 2016[/editline]

You can also simply use serverside console command, which would be able to be ran by the client.

[editline]12th May 2016[/editline]