Don't do that until you've got the entire thing thought.
Ideally, it'd be a profile field (one of the customs to reduce code), and something like ubb_points.cgi
(Pseudocode)
my @user = &OpenProfile( $usernumber );
if( $user[index] >= $in{donation} ) {
$user[index] -= $in{donation};
my @rec = &OpenProfile( $in{rec} );
@rec[index] += $in{donation};
}
&StandardHTML( "$in{donation} points donated to $rec[name]" );
I'm swamped with school work, Gizzy, could you work on that, ya know, while taking care of that ugly baby of yours
