XxTrojan_ManxX
Member!
yea i just started using d2jsp and i need to know how to switch scripts without have to go to the install file.. ne help?
// IGNORE THIS LINE
var TRUE=true,FALSE=false;
// *******************
// THIS IS IF YOU WANT TO RUN PINDLE, IF YOU WANT TO RUN OTHER BOSSES,
// SET THE RunMephistoBot to true
var RunPindleBot=[glow=red]false;[/glow]
// *******************
// ******************
// IF YOU WOULD PREFER TO RUN MEPHISTO, CHANGE false TO true
var RunMephistoBot=[glow=red]false;[/glow]
// *******************
// *******************
// IF YOU WANT TO OVERRIDE THE ABOVE FEATURES, SET THE FLAG BELOW TO true AND
// CHANGE THE FILENAME TO THE EXACT SCRIPT FILENAME OF THE SCRIPT YOU WANT
// TO RUN. PLEASE BE SURE TO INCLUDE THE DIRECTORY, MOST COMMON IS bots/
var RunCustomScript=[glow=red]false;[/glow]
var CustomScriptName="bots/pwndefault.d2j";
// *******************
// *******************
// SET THIS TO true IF YOU ARE AN ADVANCED USER AND WANT TO HAVE DIFFERENT
// CHARACTERS RUNNING DIFFERENT BOTS
var RunMultipleBots=[glow=green]true;[/glow]
// *******************
// ******************
// ONLY MODIFY BELOW THIS IF YOU ARE AN ADVANCED USER AND WANT TO RUN
// DIFFERENT BOTS PER CHARACTER!
// ******************
function main() {
if(RunMultipleBots) {
switch(me.name) {
case "[glow=blue]ChArAcTeRnAmEhERe[/glow]":
load("bots/[glow=orange]ScRiPtNaMeHere.d2j[/glow]");
break;
case "[glow=blue]ChArAcTeRnAmEhERe[/glow]":
load("bots/[glow=orange]ScRiPtNaMeHere.d2j[/glow]");
break;
case "[glow=blue]ChArAcTeRnAmEhERe[/glow]":
load("bots/[glow=orange]ScRiPtNaMeHere.d2j[/glow]");
break;
case "[glow=blue]ChArAcTeRnAmEhERe[/glow]":
load("bots/[glow=orange]ScRiPtNaMeHere.d2j[/glow]");
break;
default:
load("bots/pwndefault.d2j");
break;
}
} else {
if(RunCustomScript) {
load(CustomScriptName);
} else if(RunMephistoBot) {
load("bots/scav_multi_mf.d2j");
} else {
load("bots/pwndefault.d2j");
}
}
}