|
Enathe Novice
Joined: 17 Nov 2001 Posts: 34 Location: USA
|
Posted: Tue Dec 30, 2003 1:32 am
Reroll Script |
Am trying to make a little reroll script. Mud output is
Str: 10 Int: 15 Wis: 16 Dex: 11 Con: 8
Tried for awhile on my own and got as far as being able to capture one stat and then stop the roll, but can't seem to move foward from there. At most I would like to capture two stats and then reroll or stop when the minimum from those are met. Any suggestions would be welcomed. Thanks all
Enathe |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Dec 30, 2003 5:17 pm |
#TR {Str: (%d) Int: (%d) Wis: (%d) Dex: (%d) Con: (%d)} {#IF ((%1 > 7) AND (%2 > 13) AND (%3 > 2) AND (%4 > 17) AND (%5 > 11)) {#SAY You have at least 8 str, 14 int, 3 wis, 18 dex, and 12 con} {#SAY One or more of the stats is below minimum}}
Add enough spaces to match the actual MUD output. Change the minimums to suit yourself and change the commands to Accept/Yes and Reroll/No or whatever other choices you are given. |
|
|
|
|
|
|
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
|
|