# Game difficulty

**URL:** <https://blizzhackers.discourse.group/t/game-difficulty/498>\
**Category:** Support\
**Created:** [December 26, 2019, 12:34am UTC](https://blizzhackers.discourse.group/t/game-difficulty/498 "2019-12-26T00:34:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Casper](https://avatars.discourse-cdn.com/v4/letter/c/b4bc9f/32.png) [@Casper](https://blizzhackers.discourse.group/u/Casper)\
**Post date:** [December 26, 2019, 12:34am UTC](https://blizzhackers.discourse.group/t/game-difficulty/498/1 "2019-12-26T00:34:30Z")

</div>

Is it possible to have game difficulty selected within a script?  
For example: I run my char in hell, but when I want to run cows in NM without stopping and restarting D2Bot.  
Is this possible?

---

<div class="post-metadata">

**Author:** ![mf22](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/mf22/32/18_2.png) [@mf22](https://blizzhackers.discourse.group/u/mf22)\
**Post date:** [December 28, 2019, 10:08am UTC](https://blizzhackers.discourse.group/t/game-difficulty/498/2 "2019-12-28T10:08:32Z")

</div>

maybe if you can find a way to customize your D2BotLead in this line, in particular **gameInfo.difficulty** variable:

```javascript
		ControlAction.createGame((gameInfo.gameName === "?" ? randomString(null,true) : gameInfo.gameName + gameCount), (gameInfo.gamePass === "?" ? randomString(null,true) : gameInfo.gamePass), gameInfo.difficulty, StarterConfig.CreateGameDelay);

```
