functions to sendmessage and change rooms
adding function to process commands
adding name change command