Hi, you will learn how to create a dice bot using simple mIRC commands. It will be able to roll numerous sided dice. These bots are very useful when playing games online, such as AD&D or any other game that requires different sided dice.
Before I begin I would like to say, some servers don't allow clones. And you need to have a clone if you plan to use this script. Let's begin:
I recommend typing the script in the remotes section in mIRC. This can be done by clicking on the ninth icon from the top in mIRC. After you do this a window should come up. In one events at the top of this window, then click on listening. If you don't do this the script will NOT work.
Now I will show you some examples of lines from a dice script:
This rolls a 1d6 whenever someone types 1d6 in the channel. It displays the results1:on text:*1d6*:*:/msg $chan $nick, 1d6: $r(1,6)
This rolls a 2d8.
1:on text:*2d8*:*:/msg $chan $nick, 2d8: $r(2,16)
The $r(x,y) generates a random number between x and y
How to load the Dice Script: