-----After, add: if ($session['user']['pvpflag']=="2033-10-06 00:42:00") output("`0Dag looks at you. \"`7Petersen told me that he's protecting you from being killed - and now you want to see someone else dead? You'ld lose your protection if I put someone on my list for ya. You know that?`0\"`n`n");

-----Before, add: }elseif ($_GET['op']=="immun"){ if ($session['user']['pvpflag']=="2033-10-06 00:42:00"){ output("J. C. Petersen nods and explains that you are still under his personal protection."); } elseif ($session['user']['pvpflag']=="1986-10-06 00:42:00") { output("J. C. Petersen explains that he is neither willning nor able to protect someone, who is a murderer himself."); }else{ output("You ask J. C. Petersen if he could protect you against killers."); output(" He nods and promises you, that for the fillip of 300 points noone will ever dare to touch you again. He would even talk to Dag Durnick for that purpose. But he also tells you that he couldn't grant for nothing if you kill someone!`n`n"); output("Pay 300 points for permanent PvP immunity?`n(You will lose your immunity only when you do PvP or when you set a bounty on someone. If you do so, you will not be able to buy immunity again until you were attacked at least once.)"); addnav("Confirm immunity?"); addnav("YES","lodge.php?op=immunconfirm"); } addnav("Back to Lodge","lodge.php"); }elseif ($_GET['op']=="immunconfirm"){ if ($pointsavailable>=300){ output("J. C. Petersen uses his influence to hide you from killers in this land. He tells Dag Durnick that your name must not be set on his list, if you're not allready on it.`nNote that your protection is gone as soon as you attack someone "); output(" or want to put a name on Dag's list."); $session[user][pvpflag]="2033-10-06 00:42:00"; $session['user']['donationspent']+=300; }else{ output("Not enough points left!"); }