The rule is the three 7's. 7 meters,7 knots and one I can't remember. So don't be flying around at 20 knots at night without proper lighting. I never do..

Seriously though, When you see a boat approaching you shine the light at the boat to get there attention(try not to shine the light in their eyes) then light up the sails until the boat passes. I keep my jib rolled up at night. Even with a large window in the jib your vision is obscured by the jib. The other good reason for keeping the jib rolled is you don't need to get into a overpowered situation and capsize at night.
Besides a waterproof flashlight I have a 2,000,000 cp rechargable spotlight that I put in a clear dry bag. The light works fine shining through the bag.
Make sure you have a whistle or some sort of audible signaling device.
Steve, one other bit of advise for our area, keep out of the channels as much as possible. I know you have to cross, but don't cruise them.
So, are you planning to join us?