|
Madvena Newbie
Joined: 23 Jun 2006 Posts: 1
|
Posted: Fri Jun 23, 2006 4:07 pm
Autoroller - Nodeka |
Hey people,
I made a simple autoroller for the mud I used to play, but this one is a little beyond my abilites. If anybody could help me out with this, that would be great.
Here's the output:
# Str Dex Agi Con Int Wis Wil Spe
(1) [ 14 ] [ 12 ] [ 18 ] [ 16 ] [ 12 ] [ 12 ] [ 8 ] [ 14 ]
(2) [ 18 ] [ 14 ] [ 9 ] [ 11 ] [ 14 ] [ 17 ] [ 9 ] [ 18 ]
(3) [ 10 ] [ 12 ] [ 14 ] [ 13 ] [ 11 ] [ 8 ] [ 16 ] [ 9 ]
(4) [ 18 ] [ 16 ] [ 8 ] [ 13 ] [ 18 ] [ 8 ] [ 11 ] [ 8 ]
(5) [ 16 ] [ 15 ] [ 10 ] [ 11 ] [ 8 ] [ 16 ] [ 18 ] [ 17 ]
[ Pick row (1-5) or hit the enter key to reroll ]:
The forums only seem to be showing one space character in any given spot where there are multiples, but there are 2 in front of ever stat value, and 2 after. If it is a single digit value, 3 spaces are used after.
ie [--18--] or [--8---]
Here's what I'd like:
I'm not extraordinarily picky, but I made 2 thresholds for my previous mud, and I was pretty fond of that system. ie, str dex con must be greater than or equal to 18 and the rest must be greater than or equal to 15.
I would greatly appreciate any help.
Matt |
|
|
|
mr_kent Enchanter
Joined: 10 Oct 2000 Posts: 698
|
Posted: Fri Jun 23, 2006 6:45 pm Re: Autoroller - Nodeka |
Madvena wrote: |
Here's the output:
Code: |
# Str Dex Agi Con Int Wis Wil Spe
(1) [ 14 ] [ 12 ] [ 18 ] [ 16 ] [ 12 ] [ 12 ] [ 8 ] [ 14 ]
(2) [ 18 ] [ 14 ] [ 9 ] [ 11 ] [ 14 ] [ 17 ] [ 9 ] [ 18 ]
(3) [ 10 ] [ 12 ] [ 14 ] [ 13 ] [ 11 ] [ 8 ] [ 16 ] [ 9 ]
(4) [ 18 ] [ 16 ] [ 8 ] [ 13 ] [ 18 ] [ 8 ] [ 11 ] [ 8 ]
(5) [ 16 ] [ 15 ] [ 10 ] [ 11 ] [ 8 ] [ 16 ] [ 18 ] [ 17 ]
[ Pick row (1-5) or hit the enter key to reroll ]: |
|
Just to show formatting and get you started:
Code: |
#TRIGGER {~# Str Dex Agi Con Int Wis Wil Spe } {#NOOP}
#COND {~(1~) ~[%s(%d)%s~] ~[%s(%d)%s~] ~[%s(%d)%s~] ~[%s(%d)%s~] ~[%s(%d)%s~] ~[%s(%d)%s~] ~[%s(%d)%s~]} {#ADDKEY ChaOne {Str=%1|Dex=%2|Agi=%3|Con=%4|Int=%5|Wis=%6|Wil=%7}
.
.
.
.
#COND {~(5~) ~[%s(%d)%s~] ~[%s(%d)%s~] ~[%s(%d)%s~] ~[%s(%d)%s~] ~[%s(%d)%s~] ~[%s(%d)%s~] ~[%s(%d)%s~]} #ADDKEY ChaFive {Str=%1|Dex=%2|Agi=%3|Con=%4|Int=%5|Wis=%6|Wil=%7};__Do Calculations here__;#VAR ChaOne "";#VAR ChaTwo "";#Var ChaThree "";#VAR ChaFour "";#Var ChaFive "";#SEND @Choice} |
Well, I tried. #COND {} {#ADDKEY... doesn't want to copy and paste into the Command Line. Hopefully this will get you started. I need to leave for work. Later. |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|