AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Iso a die rolling chatbot
 
 

  Does anyone know where I can find a Die Rolling Chatbot?  [Preferably free]

  One that recognizes the format of XdY+Z would be nice

  X = the number of die
  d = term for die/dice
  Y = The number of sides on the die/dice
  Z = Any other modifier

 

 
  [ # 1 ]

Would you want the chatbot to do anything else apart from this? It doesn’t seem to involve much “chatting”.

 

 
  [ # 2 ]

Depending on the specific needs, a simple script, written in any of a dozen languages or more, can be quickly written to perform this task. Perhaps a bit more information on your part can help us to narrow the field a bit? wink

 

 
  [ # 3 ]
Dave Morton - Oct 8, 2011:

Depending on the specific needs, a simple script, written in any of a dozen languages or more, can be quickly written to perform this task. Perhaps a bit more information on your part can help us to narrow the field a bit? wink

A group of people online want to organize an Role-Playing group to play online, but it’s all going to be verbal interaction. The only thing that needs to be botted is the Die Rolls.

Like I said before, it needs to support the XdY+Z format.

Meaning, if a player types 4d6+2: It will roll x4 6-sided die and then add 2.
It, ofc, needs to support negatives for it’s modifier [The +#] too.

It’s fairly simple, but it’s all I need.

 

 
  [ # 4 ]

Will this be web-based, and viewed with a browser? Or will it be enclosed in some other sort of application or interface? If it’s web-based, I can probably put something together in just a few minutes, depending on how “fancy” you want it. It would also be good to know if there will be a “maximum” number of dice rolled (in case you want “really fancy”, with images of dice and such).

 

 
  [ # 5 ]

I’ve tossed together a very simple example of what I’m getting at over at my website. Check out http://www.geekcavecreations.com/dieRoll2.htm and see if that’s what you’re looking for. smile

If you want a simpler version, without the breakdown, look at http://www.geekcavecreations.com/dieRoll.htm

Of course, any “bells & whistles” (e.g. a fancy page style, images of the dice, animations, etc.) would run into actual work and would need to be compensated for. wink

As an interesting side-note, “non-standard” dice can also be used here. For example, you can flip a coin 1,000 times (1000d2), or roll a three-sided die (1d3), or roll the dreaded Zocchihedron (100-sided die). Just don’t use numbers less than one for the number of sides for the dice, or for the number of dice. Doing so will cause unintended results. The only thing that I didn’t program for is the rare instance where the modifier is also a die roll. That must be factored separately at this point.

 

 
  [ # 6 ]

That’s really cool man. That’s exactly what I wanted… the bells and whistles are unnecessary. I’m not sure what sort of application or what not, as we still haven’t decided on that. I’m thinking something like a simple mIRC type deal.

 

 
  [ # 7 ]

Feel free to use that page as long as you need. Or, if you know someone who’s a wiz at both Javascript and mIRC scripting, you can probably have them do a translation. It’s not a very complex script, after all. smile

 

 
  login or register to react