Mavproxy command

Hello guys, I need a help.

When the is running. I want the program automatically typing command “wp” to do something.
How to do it?

Make a new or using mavproxy script?

Are aliases what you’re looking for?

Or are you wanting MAVProxy to run some specific command whenever the user types in “wp”?