  _________       .__  __         .__      ________               
 /   _____/_  _  _|__|/  |_  ____ |  |__  /  _____/  ____   ____  
 \_____  \\ \/ \/ /  \   __\/ ___\|  |  \/   \  ____/ __ \ /    \ 
 /        \\     /|  ||  | \  \___|   Y  \    \_\  \  ___/|   |  \
/_______  / \/\_/ |__||__|  \___  >___|  /\______  /\___  >___|  /
        \/                      \/     \/        \/     \/     \/ 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	Best viewed in notepad with fixed-width font
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


About:
This program is designed to save time by changing switch alternations for you.  So all you have to do is paste a set of triggers where all the switches are set to cleared and follow the instructions to set them to how they should be.  This works especially well with large amounts of outcomes for switches (IE: using over 6 switches which is 64 outcomes - or total triggers).


Installation:
1.  Extract all files ... wait you already did that if you're reading this.
2.  Run SwitchGen.exe.

Visual Basic runtime filed required, they can be found here: http://www.staredit.net/index.php?download=362


Instructions:
1.  Paste the triggers in the text box.
2.  Select the trigger to change, go from the first switch in your trigger listed to the last.
3.  Select the frequency, start with 1, then 2, then 4, etc for each new switch.
4.  For each switch/frequency combination click change once.
5.  Double check to make sure you did everything correctly.  You can always delete them and redo it if you mess up.
6.  There is an example towards the bottom of this document if you need a visual aid.


F.A.Q.
Q. What if I need to use a custom switch name or I can't find Switch#...?
A. Type it in the box where the switches are, leave any quotations out.

Q. What if I'm using more switches than you have 'frequencies'?
A. They work by 2's.  So multiply the last number by 2 for each next frequency and type it in.  IE: 256, 512, 1024 would be the next 3.

Q. This screwed up my triggers, can you fix it?
A. No, you should always double check the triggers to make sure you didn't make a mistake somewhere along the line.  Besides that this is all text-based, it should be very easy and take little time to fix them.  And SCMD2 should have made backups of your map if you didn't so you can revert to those.

Q. I got an Error or file not found, how did this occur?
A. I don't know, if you find any errors though make sure you have the latest version (as of this readme, this is version 1) then private message me the problem and how it occured at SEN.  Be very specific, I'm looking for the the missing file name or error name (or number) and steps I can take to re-create it.  If I can't re-create it myself then I cannot fix it.  Also, please make sure you have downloaded and installed the visual basic runtime files if you recieved a missing file error, the link again: http://www.staredit.net/index.php?download=362  Direct link to report bugs: http://www.staredit.net/index.php?act=Msg&CODE=4&MID=4  Alternate forms of contact: http://www.staredit.net/index.php?showuser=4

Q. I have a suggestion to make the program better, do you want to hear it?
A. Sure just drop me a message here: http://www.staredit.net/index.php?act=Msg&CODE=4&MID=4 or contact me using AIM/MSN/etc here: http://www.staredit.net/index.php?showuser=4


Example:
Say I have 3 switches,  Switch1, Switch2, and Switch3.  These three switches produce a total of 8 outcomes.  So I make all 8 triggers for them leaving the conditions with all cleared switches.  Then I paste them in the textbox.  I select my first switch, Switch1, and the first frequency, 1, and click change.  Then Switch2, and 2, click change.  And finally Switch3, and 4, click change.  This is the outcome of each change (scroll to see changes):


//////////////////////
//// Original Set ////
//////////////////////
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #1");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #2");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #3");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #4");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #5");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #6");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #7");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #8");
}
//----------------//
/////////////////////////
//// After change #1 ////
/////////////////////////
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #1");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #2");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #3");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #4");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #5");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #6");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #7");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #8");
}
//----------------//
/////////////////////////
//// After change #2 ////
/////////////////////////
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #1");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #2");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #3");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", set);
	Switch("Switch2", set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #4");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #5");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #6");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #7");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", set);
	Switch("Switch2", set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #8");
}
//----------------//
/////////////////////////
//// After change #3 ////
/////////////////////////
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #1");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", set);
	Switch("Switch2", not set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #2");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #3");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", set);
	Switch("Switch2", set);
	Switch("Switch3", not set);
Actions:
	Comment("outcome #4");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", not set);
	Switch("Switch3", set);
Actions:
	Comment("outcome #5");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", set);
	Switch("Switch2", not set);
	Switch("Switch3", set);
Actions:
	Comment("outcome #6");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", not set);
	Switch("Switch2", set);
	Switch("Switch3", set);
Actions:
	Comment("outcome #7");
}
//----------------//
Trigger("Player X"){
Conditions:
	Switch("Switch1", set);
	Switch("Switch2", set);
	Switch("Switch3", set);
Actions:
	Comment("outcome #8");
}
//----------------//

Version History:
1:
- Added pre-set switches
- Added pre-set frequencies
- Added about dialogue
- Made program public