How to close OMI client from script?

I want to make a buttom where the client can be closed. Is there a command for that?

Parents Reply Children