kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
345 stars 332 forks source link

How do you do a character specific /players setting? #2210

Open AuraofMana opened 4 years ago

AuraofMana commented 4 years ago

I've been only able to figure out how to do it through default.dbj. How do you do a character specific /players?

gtoilet commented 4 years ago

Libs/common/attacks/toon type

AuraofMana commented 4 years ago

Sorry, I should have worded it better. I meant, character specific. E.g., Sorceress A vs. B each has their own specific /players command.

InterestingIndeed commented 4 years ago

kolbot/libs/config

Sorceress.A.js Sorceress.B.js

When configuring a Bot profile, just set "A" or "B" as character names and the bot will run the specific configurations.

AuraofMana commented 4 years ago

@InterestingIndeed Yea, I am running specific configs. I just can't figure out the syntax to call the /players command inside config files. Do you know the syntax?

InterestingIndeed commented 4 years ago

You dont have to. You create a profile in d2bot for each character.

Profile A: Account: X, Charname: A Profile B: Account: Y, Charname: B

AuraofMana commented 4 years ago

@InterestingIndeed Hey, thanks for the reply. Maybe I am misunderstanding, but that's not the problem I am having. I already have multiple characters running with their own configs.

What I am trying to do is make each character use a different /players command (e.g. A does /players 3 while B does /players 5). I can't figure out which file to put this in nor what the syntax is.

I tried putting it in the config but couldn't figure out the syntax. Only place I have succeeded in accomplishing this is in default.dbj, but that is used by every single character, so that doesn't work for my purpose.