Re: [v1 & v2]Reset your users without deleating them
For V2
<?php
include "globals.php";
if($ir['userid'] != 1)
{
die ("Coo Off!");
}
global $db;
$db->query("UPDATE users SET money=100000,level=1,exp=0,crystals=100,job=0,location=1,hospital=0,jail=0,course=0,cdays=0,donatordays=2,bankmoney=0,cybermoney=0,turns=100,exp=0.0000,maxwill=100,will=100,energy=100,maxenergy=100,brave=5,maxbrave=5,hp=100,maxhp=100,gang=0,daysingang=0,jobrank=0 WHERE user_level>0") or die(mysql_error());
$db->query("UPDATE userstats SET strength=10,agility=10,guard=10,labour=10,IQ=10") or die(mysql_error());
$db->query("TRUNCATE TABLE mail,events,friendslist,blacklist") or die(mysql_error());
print "Clearing done!";
$h->endpage();
?>
That should work fine. Post any errors here!