Referral Script?

Is there any way I can assign a custom link to clients so when they refer friends I know which client it came from so I can give them a discount?

Any affiliate program software or ad tracking software would let you do that. If you use an affiliate program script (like iDevAffiliate) you can always set the commission to $0 and do the discounting separately.

thx! ill take a look at this