Hours... and hours... of scripting, FOR A FREAKIN SWITCH!!
Now I know how Thomas Edison felt when he tried to invent the light bulb.
Oh well, atleast I accomplished something. ;o