Non la fonction a RPG Illusion est encore plus simple :
Code PHP :
<?php
if (isset($_GET["do"])) {
$do = explode(":",$_GET["do"]);
// Fonction villes.
if ($do[0] == "inn") { include('towns.php'); inn(); }
elseif ($do[0] == "cheatbanque") {include('towns.php'); cheatbanque(); }
elseif ($do[0] == "cheatniveau") {include('towns.php'); cheatniveau(); }
elseif ($do[0] == "cheatserreur") {include('towns.php'); cheatserreur(); }
elseif ($do[0] == "home") { include('towns.php'); home(); }
...