Ok here is our first try at this, I dont have time to test it and I will be gone the rest of the day so hopefully she works on the first go.
http://www.xlobby.com/xlobby2.zip
You'll need to make yourself a new event, lets use "dvd changer", then add the normal commands you would need to play a dvd with the "ir>command" and you will also see the new "ir>send number" command. Here you will enter "%movies>slotnumber%" as your variable...or you can just use a number to test it, slotnumber is the name of the variable that is storing your dvd slot number of course.
The main thing you have to setup is inputting all the numbers 0,1,2...9 into the xlobby ir plugin tab for your selected device. This is so I know how to send the numbers to the dvd player.
So the main steps are
1. input all the numbers into the ir plugin section under a device
2. create your dvd changer event, and use the new "ir>send number" command
Remember you can always use a real number in the "ir>send number" for testing at first to make sure its working. I have also set the delay to 1 second in between sending numbers...this is where the problems might happen......also remember there is a "wait" command you can use if you need a delay between sending the other ir commands.
Hope thats clear enough, I'll check back tonight to see if anyone got it working.