Probiere es mal, in dem du die D2BotChannel.dbj als Entry point wählst und den gewünschten Channel, Gamename und Password eingibst.
Code:
var StarterConfig = {
JoinChannel: "", // Name of the channel to join
FirstJoinMessage: "", // Message to say when first joining a channel, usually ".login"
ChatActionsDelay: 2, // Seconds to wait in lobby before entering a channel
// D2BotChannel settings
Games: [""], // List of games to look for. Example: Games: ["some baal-", "chaos run-"],
Passwords: [""], // List of game passwords. Each array in Games array should have a matching element in Passwords. Use "" for blank pw.
JoinDelay: 5, // Seconds to wait between announcement and clicking join
FriendListQuery: 0, // Seconds between "/f l" retries. 0 = disable
Den Leader definierst du dann in deiner Charconfig
Code:
Config.Leader = ""; // Leader's ingame character name. Leave blank to try auto-detection (works in AutoBaal, Wakka, MFHelper)
Config.QuitList = [""]; // List of character names to quit with. Example: Config.QuitList = ["MySorc", "MyDin"];
Dein Char sollte danach dem Leader in die Games nachfolgen (entweder durch Channelansage oder F-List) und ihn danach als Leader erkennen.