I've done this in RM2k, but XP is a bit more difficult. I'm remaking a game in XP because the graphics are better and the self switch is AWESOME. It's a system to use a skill called "Chemistry" to pull up a Common Event. This event has many switches and such. Like, I have MANY different chemicles. Each chemical has a specific number assigned to it (not in order, as that could screw things up) example:
Pyrite: 190
Blurite: 320
Adding 3 chemicals together, it reaches a number. (The Mixing variable is used) MANY conditional branches are used here. If it equals such and such, you get such and such, but if not, then another conditional branch goes through. It keeps doing this until either the sum matches, or NONE of the combinations are right. Then it gives you "Failed Experiment"
It's hard to explain. But I want maybe a script or SOMETHING to making this not so difficult to do. Since I'm using XP, it's harder to do already. A script may make it a bit easier. I want the success to also depend on a certain stat such as intelligence. The more advanced the chemical you use, the harder it is to succeed.
If anyone has ANY ideas, please do share.