Need Help With Multiple Variables

I am trying to code a program/file that will do the following. I am converting a list of codes a friend gave me into a format a cheat system in a game can use.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
_C0 Exact Drop This Choice of Weapon
_L 0x20296FA0 0x24020008
_L 0x20296C3C 0x00000000
_L 0x20296C78 0x10000080
_L 0x20296E84 0x3C03AABB
_L 0x20296E88 0x2463CCDD 

To use this Weapon drop code, while you have:
Example. 0x03170701 Play Blue Edge
03/ 1st+2nd #'s after 0x=AA
17/ 3rd+4th #'s after 0x=BB
07/ 5th+6th #'s after 0x=CC
01/ 7th+8th #'s after 0x=DD

Then you take those values and put them into the Exact weapons drop code,
_C0 Exact Drop Play Blue Edge
_L 0x20296FA0 0x24020008
_L 0x20296C3C 0x00000000
_L 0x20296C78 0x10000080
_L 0x20296E84 0x3C030317
_L 0x20296E88 0x24630701


I have a list of values AABBCCDD that I want a program to run through and convert to the
_C0 Exact Drop This Choice of Weapon
_L 0x20296FA0 0x24020008
_L 0x20296C3C 0x00000000
_L 0x20296C78 0x10000080
_L 0x20296E84 0x3C03AABB
_L 0x20296E88 0x2463CCDD

form and store in a new file. I have no idea how to write a program that fetches variables from an outside source, however. Any help is appreciated, although a complete guide who forever help me.
Topic archived. No new replies allowed.