Power for servo motor?

Interfacing and using IR is one task. Operating an L293 is a totally different matter. There's nothing connecting them except for what You want to use them for.
Use example codes for each of them. When both 2 parts are well known Make the logic in code that makes them do what You want.