Permanent server variables are stored in the `mapreg` SQL table.
If at least one player has donated (and the $rachel_donate variable exists), you can view it with this SQL query:
SELECT * FROM `mapreg` WHERE `varname`='$rachel_donate';
Edit the `value` column using phpMyAdmin or your Query Browser program,
or you can edit the value using a SQL query:
UPDATE `mapreg` SET `value`=10000 WHERE `varname`='$rachel_donate';
If no players have donated yet and the first query did not return any rows, you can insert (create) the variable like this:
INSERT INTO `mapreg` VALUES ('$rachel_donate', 0, 10000);
Note: to edit variables this way, you have to stop the server first, then run the SQL queries.
The alternate method is set the variable using a script while the server is running.
Copy-paste this into a script, @loadnpc, and click it if necessary (prior to r16130).
prontera,155,188,0 open_rachel_sanct 910,{
OnInit:
set $rachel_donate, 10000;
atcommand "@unloadnpc " + strnpcinfo(3);
}