I'm not sure if you already got an answer to this since yet since you posted this question awhile ago, but since there are no replies yet, I'll give you the most basic script I can think of.
Quote:
<?php
include("functions/functions.php");
include("functions/functions_users.php");
include("functions/functions_adopts.php");
include("functions/functions_friends.php");
include("functions/functions_items.php");
include("inc/lang.php");
include("inc/bbcode.php");
//***************//
// START SCRIPT //
//***************//
$cashname = grabanysetting("cost");
$reward= 1;
if($isloggedin == "yes"){
changecash($reward, $GLOBALS['username'], $GLOBALS['money']);
$article_title = "Hello, {$username}!";
$article_content = "You have gained {$reward} {$cashname}.";
}
else{
$article_title = "You are not logged in!";
$article_content = "You must be logged in to view this page!";
}
//***************//
// OUTPUT PAGE //
//***************//
echo showpage($article_title, $article_content, $date);
?>
|
To change how much money they receive, just change the number after "$reward". :)