Whats the best way to send serial commands?

Sounds like you mean you are sending the data via serial to trigger one function or the other? Your problem description seems kinda vague to me.

Yes! That is exactly what I mean, sorry for being vague.

I will start putting what you suggested into code and see how far I get, but I'm sure it will work.