FANDOM


Ben 2.0 is a wiki help program coded by Rocketslime_1_1. It is a javascript program that is a remake of the completely failed project "Ben Program". It is made for the Nintendo Wiki, however it can be used on any wiki.

How to runEdit

Ben 2.0 is a javascript code, so there are many places it can be run. You can use an online javascript tester or use your browser. To see how to use your browser to run javascript see this article.

Current CodeEdit

This is the current code.

/*
 * This is the code of Ben 2.0, the wiki help program.
 
 * It was coded by Rocketslime_1_1.
 
 * If you make a modified version of it please give
   credit to him for creating the original version. 
 */
 
alert("Hello, I am Ben 2.0.\nThe wiki help program.");
var command = 0;
 
/* List of Commands */
 
// A.1 - Basic Game Infobox "Infobox CVG"
 
// A.2 - Pokemon special e "e"
 
// A.3 - Head Template "head"
 
// A.4 - Credit System "credits"
 
// A.5 - Basic Character Infobox "char"
 
/* End of list */
 
var script = function() {
 
command = prompt("Please enter your command.");
 
/* A.1 - Basic Game Infobox "Infobox CVG" */
if (command === "Infobox CVG") {
    alert("{{Infobox CVG\n| image = \n| caption = \n| developer = \n| publisher = \n| system1 = \n| system1NA = \n| system1JP = \n| system1EU = \n| system1AU = \n| system1KO = \n| system1CH = \n| genre = \n| song = \n| rating = Yes\n| ESRB = \n| PEGI = \n| BBFC = \n| CERO = \n| USK = \n| ACB = \n| Fix = a\n}}");
}
 
/* A.2 - Pokemon special e "e" */
else if (command === "e") {
    alert("é");
}
 
/* A.3 - Head Template "head" */
else if (command === "head") {
    alert("{{Head\n| type = \n| quote = \n| speaker = \n| stub = \n| featured = \n| protected = \n| class = \n| unreleased = \n| for = \n| for1 = \n| for2 = \n| for3 = \n}}");
}
 
/* A.4 - Credit System "credits" */
else if (command === "credits") {
    alert("{{CreditB}}\n{{Credit|position|people}}\n{{Credit|position|people}}\n{{Credit|position|people}}\n{{CreditE}}");
}
 
/* A.5 - Basic Character Infobox "char" */
else if (command === "char") {
    alert("{{VG Character\n| name             = \n| gender           = \n| image            = \n| caption          = \n| series           = \n| species          = \n| firstgame        = \n}}");
}
 
/* If input doesn't match a command */
else {
    alert("Invalid command.\n\nInputed Command:\n" + command);
}
 
/* Check if user wants to input again */
var cont = "no";
 
cont = prompt("Would you like to input another command? (Y/N)");
 
if (cont === "Yes" || cont === "yes" || cont === "y" || cont === "Y") {
    script();
}
 
};
 
script();

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.