Dice Rolling Lua Script Popular


This is a simple dice rolling script. Only one user needs to have it installed (for example, the GM in RP). It highlights the critical results and if more than one die is rolled at once then it adds up all the results at the end.

Can do:
-roll up to 25 dice at once, for example (25d10)
-roll any kind of die up to 999 sides, for example (d999)

Use:
Type "(dX)", where X is the number of the sides of the die you want to roll.
-- OR --
Type "(YdX)", where X is the same as above and Y is the number of dice you want to roll at once.

Install:
Unpack the plugin in the:
TeamSpeak3/plugins/lua_plugins
Then, open the Settings->Plugins and there check the plugin list for "Lua Plugin" and check it if it's not turned on (it must be, to make this work), then select "Lua Plugin" on the list and hit "Settings" at the bottom of the window, here check the "dice" and it's ready.

UPDATE v1.1

-remade the critical highlights ("-"  for critical low and "!" for critical high, because of "BB color is disabled with line-break")

-random generator is now really random


Thanks:
For the maker(s) of the Dice Bot plugin! In fact this is just a recreation of their work and ideas and not yet as good as their.

Have fun!

Rating
0 vote
Favoured:
0

Addon Details

Type
Non-Commercial
Compatibility
TeamSpeak 3
Hits
4046
Version
1.1 for API 11
518.jpg