Welcome Guest [Log In] [Register]
Welcome to Hotaru no Hishou. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Web Die Rollers; Online die rolling resources
Topic Started: 18 Oct 2007, 18:39 (411 Views)
Ankhanu
Member Avatar
Dark Lord
[ *  *  *  *  *  * ]
http://rpg.norwinter.com/konkret/

nice little set up for a die roller for most game systems. Has presets for d6, White Wolf (old and new) and d20.
In Real Life ™, people who aim to maximize their potential for lethality are called "dangerous psychotics" and are typically avoided by everyone who isn't forced to endure their company until someone has the opportunity to put them away or else put them down. No one likes that guy. Don't play that guy.

Donate to Ankhanu Press
Offline Profile Quote Post Goto Top
 
Ankhanu
Member Avatar
Dark Lord
[ *  *  *  *  *  * ]
The Invisible Castle die roller is also handy. It's not as flexible as the konkret roller, but does have convenient HTML, BBcode, etc output formats.
In Real Life ™, people who aim to maximize their potential for lethality are called "dangerous psychotics" and are typically avoided by everyone who isn't forced to endure their company until someone has the opportunity to put them away or else put them down. No one likes that guy. Don't play that guy.

Donate to Ankhanu Press
Offline Profile Quote Post Goto Top
 
Ankhanu
Member Avatar
Dark Lord
[ *  *  *  *  *  * ]
Vong wrote a couple mIRC die rollers, here's the code if you'd like to incorporate it.
This one is written to cover the West End Games d6 Star Wars Wild Die mechanic, rolling 6-sided dice with a Wild Die, exploding on a 6, and subtracting itself and the next highest on a 1. If you're playing with Complication rules, a 1d6 roll is required after a 1 roll to check for complication, it won't be rolled automatically.

Code:
 

on 1:TEXT:*!d6 *:#* {
 var %i = 1
 var %tot = 0
 if ($3 != $null) {
   %tot = $3
 }
 var %temp
 var %roll
 var %largest = 0
 var %wd = 0
 while (%i <= $2) {
   %temp = $rand(1,6)
   %roll = %roll $+ %temp ,
   if ((%temp == 6) && (%i == 1)) {
     dec %i
     %wd = 6
     %roll = %roll $+ ~
   }
   if ((%temp == 1) && (%i == 1) && (%wd == 0) && ($4 == $null)) {
     %wd = 1
   }
   if (%largest < %temp) {
     %largest = %temp
   }
   %tot = %tot + %temp
   inc %i
 }
 if (%wd = 1) {
   dec %tot
   %tot = %tot - %largest
   %roll = %roll $+ ( removed 1 and %largest )
 }
 /msg $chan $nick rolled $2 D + $3 = %tot -> ( %roll )
}


As written it will function in any channel.
If you change #* in "on 1:TEXT:*!d6*:#* {" to a channel name it will restrict rolling to that channel. For example:
on 1:TEXT:*!d6*:#Dice {
will only roll in #Dice.

The trigger is: !d6 (#ofDice) (PipMod)
I.e., !d6 4 2 will roll 4D6+2

The first die result in the roll string represents the wild die.
An example of the script in use, showing the exploding 6s of the Wild die:
"#RancorPit"
 

[20:34] <Vong> !d6 4
[20:34] <ShavenWookiee> Vong rolled 4 D + = 24 -> ( 6 ,~6 ,~1 ,3 ,2 ,6 , )

And reductive 1s:
"#RancorPit"
 

[21:15] <Vong> !d6 8
[21:15] <ShavenWookiee> Vong rolled 8 D + = 23 -> ( 1 ,6 ,3 ,3 ,4 ,6 ,2 ,5 ,( removed 1 and 6 ) )


This code will send the roll result to the roller as a Query or Private Message rather than displaying in the main channel... mostly useful for GMs. It wirks the same as the above code, except the trigger is:
!s (#ofDice) (PipMod)

Code:
 

on 1:TEXT:*!s *:#* {
 var %i = 1
 var %tot = 0
 if ($3 != $null) {
   %tot = $3
 }
 var %temp
 var %roll
 var %largest = 0
 var %wd = 0
 while (%i <= $2) {
   %temp = $rand(1,6)
   %roll = %roll $+ %temp ,
   if ((%temp == 6) && (%i == 1)) {
     dec %i
     %wd = 6
     %roll = %roll $+ ~
   }
   if ((%temp == 1) && (%i == 1) && (%wd == 0) && ($4 == $null)) {
     %wd = 1
   }
   if (%largest < %temp) {
     %largest = %temp
   }
   %tot = %tot + %temp
   inc %i
 }
 if (%wd = 1) {
   dec %tot
   %tot = %tot - %largest
   %roll = %roll $+ ( removed 1 and %largest )
 }
 /msg $nick $2 D + $3 = %tot -> ( %roll )
}
In Real Life ™, people who aim to maximize their potential for lethality are called "dangerous psychotics" and are typically avoided by everyone who isn't forced to endure their company until someone has the opportunity to put them away or else put them down. No one likes that guy. Don't play that guy.

Donate to Ankhanu Press
Offline Profile Quote Post Goto Top
 
Ankhanu
Member Avatar
Dark Lord
[ *  *  *  *  *  * ]
There is also code for a more generalized die roller without the Star Wars d6 Wild Die rules written in, capable of rolling any die type.

Trigger
!d (#ofDice) (#ofSides) (Modifier)

!d 1 20 14 - rolls 1D20+14

Code:
 
on 1:TEXT:!D *:#:{
 var %i = 1
 var %tot = 0
 if ($4 != $null) {
   %tot = $4
 }
 var %temp
 var %roll
 var %largest = 0
 while (%i <= $2) {
   %temp = $rand(1,$3)
   if (%i == $2) {
     %roll = %roll $+ %temp
   }
   else {
     %roll = %roll $+ %temp ,
   }
   %tot = %tot + %temp
   inc %i
 }
 if ($4 != $null) {
   %temp = $nick rolled $2
   %temp = %temp $+ D
   %temp = %temp $+ $3
   %temp = %temp $+ +
   %temp = %temp $+ $4
   %temp = %temp $+ =
   %temp = %temp $+ %tot -> (
   %temp = %temp $+ %roll
   %temp = %temp $+ )
   /msg $chan %temp
 }
 else {
   %temp = $nick rolled $2
   %temp = %temp $+ D
   %temp = %temp $+ $3
   %temp = %temp $+ =
   %temp = %temp $+ %tot -> (
   %temp = %temp $+ %roll
   %temp = %temp $+ )
   /msg $chan %temp
 }
}


And the secret version
!sd (#ofDice) (#ofSides) (Modifier)

Code:
 

on 1:TEXT:!SD *:#:{
 var %i = 1
 var %tot = 0
 if ($4 != $null) {
   %tot = $4
 }
 var %temp
 var %roll
 var %largest = 0
 while (%i <= $2) {
   %temp = $rand(1,$3)
   if (%i == $2) {
     %roll = %roll $+ %temp
   }
   else {
     %roll = %roll $+ %temp ,
   }
   %tot = %tot + %temp
   inc %i
 }
 if ($4 != $null) {
   %temp = $nick rolled $2
   %temp = %temp $+ D
   %temp = %temp $+ $3
   %temp = %temp $+ +
   %temp = %temp $+ $4
   %temp = %temp $+ =
   %temp = %temp $+ %tot -> (
   %temp = %temp $+ %roll
   %temp = %temp $+ )
   /msg $nick %temp
 }
 else {
   %temp = $nick rolled $2
   %temp = %temp $+ D
   %temp = %temp $+ $3
   %temp = %temp $+ =
   %temp = %temp $+ %tot -> (
   %temp = %temp $+ %roll
   %temp = %temp $+ )
   /msg $nick %temp
 }
}
In Real Life ™, people who aim to maximize their potential for lethality are called "dangerous psychotics" and are typically avoided by everyone who isn't forced to endure their company until someone has the opportunity to put them away or else put them down. No one likes that guy. Don't play that guy.

Donate to Ankhanu Press
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Everything else · Next Topic »
Add Reply

Black Water created by tiptopolive of the Zetaboards Theme Zone