I'm pretty sure I've seen bots that can respond to different calls in different ways, so I'm pretty sure it is possible to make one bot that can supply different responses based on the call made to it. For instance, if you call, !zombiebot_1D, you could get a single-dice roll. If you called, !zombiebot_2D, you would get a roll with 2 dice. !zombiebot_D20 rolls a D20. !zombiebot_search would either fail with a 50% chance or print one of the items found in their respective % of chance for finding one. If fail, it would print which type of zombie was found. To use an equivalent % chance of the dice, one could create a list (say for zombies) consisting of 2 X nothing, 2 X walker, 1 runner and 1 hulk, then use a randomizer to choose from the list. That is probably the easiest way to randomly choose items that have unequal chances of being found and would mimic the dice rolls exactly.
You are viewing a single comment's thread from:
That would be nice.