D2jsp help me...

_Ace

BattleForums Senior Member
Joined
May 17, 2003
Messages
1,474
Reaction score
0
Location
Under my bed (Spain)
Website
Visit site
Well. You have to edit your default.d2j file located into scripts folder. If you don't know how attach it here, tell me what do u want and ill edit it for you :)
 

Sicloan

BattleForums Senior Member
Joined
May 18, 2003
Messages
2,104
Reaction score
0
Location
visualdesigncore
Website
www.visualdesigncore.com
here is the default i use, it allows for easy configuration and it is EASY to use. If you want to use Pindbot set: var RunPindleBot=True and everything else. Same goes for any other one. If you want to use multiple bots/scripts set the acording scripts to the characters and your done!

// 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");
}
}
}
 

New threads

Top