You get either $97 or 10% of revenue from anyone who signs up for a Dreamhost hosting account based on a referral from you. You get that each time someone signs up. It's not a one time thing.
The discount comes off of the $97 you get for each signup. So if you create a $50 discount code and people sign up for their new accounts using that code, you'd get $47 for each signup.
extra domains and the new maximum $50 off with codes [color=#CC0000]1DOM50, 2DOM50 and 3DOM50[/color]. More Dreamhost coupons