ive been looking for a script / entry point where the bot would only join
ONE specific game (not abc-1, abc-2 but rather ABC).
if the game crashes, it should thereas NOT create ABC-1 or sth. instead of that, it should wait until the specific game name is available again.
moreover, i want to run a shopbot in that one game. but that shouldnt matter, i basically just need the entry point for the bot (correct me in case im wrong).
is anybody capable of doing such a script or does anybody know an existing script for that?
(example for the script: on start it logs in, creates game ABC. game crashes, bot waits in channel until game name is available again and creates ABC once more) [it also needs to be a lvl req on that game if it matters..]
found it, if any1 wants to know:
entry point case 4:
Code:
var gameName = "my game";
var gamePassword = "x";
var maxNumberOfPlayer = 8;
var gameDifficulty = 2;
var charDiff = [true, 15];
controlData.click( controlData.controls.lobby.button.create);
controlData.setText(controlData.controls.lobby.create.editBox.gameName, gameName);
if (gamePassword != "" )
controlData.setText (controlData.controls.lobby.create.editBox.password, gamePassword);
switch(gameDifficulty)
{
case 0 :
controlData.click (controlData.controls.lobby.create.button.normal);
break;
case 1 :
controlData.click (controlData.controls.lobby.create.button.nightmare);
break;
default :
controlData.click (controlData.controls.lobby.create.button.hell);
break;
}
tickCharDiff (charDiff[0], charDiff[1]);
controlData.setText(controlData.controls.lobby.create.editBox.maxNumberOfPlayers, String(maxNumberOfPlayer));
function tickCharDiff( tick, strNum ) // lambochan
{
if( tick ){ // enable
if( controlData.get( controlData.controls.lobby.create.editBox.characterDifference ).disabled == 4 ){ // disabled
controlData.click( controlData.controls.lobby.create.button.useCharacterDifference ); // enable it
}
controlData.setText( controlData.controls.lobby.create.editBox.characterDifference, strNum );
//Delay( 500 );
} else { // disable
if( controlData.get( controlData.controls.lobby.create.editBox.characterDifference ).disabled == 5 ){ // enabled
controlData.click( controlData.controls.lobby.create.button.useCharacterDifference ); // disable it.
}
}
}
Code:
controlData.setText(controlData.controls.lobby.create.editBox.maxNumberOfPlayers, String(maxNumberOfPlayer));
Code:
controlData.click(controlData.controls.lobby.create.button.createGame);






