Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Lueinden
Newbie


Joined: 21 Apr 2003
Posts: 3

PostPosted: Sun Sep 21, 2003 6:28 pm   

Stat Autoreroller Script -- Please help
 
Hey guys. Having some problems rolling decent stats and my hands are getting tired. I was wondering how you might make a reroll script for this:

+---------------------------------+
Strength : 17
Intelligence : 19
Wisdom : 14
Dexterity : 16
Constitution : 14
+---------------------------------+

Do you accept these stats (No to reroll) (y/n)?

Thanks for the help ;)
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Sep 22, 2003 2:41 am   
 
#TR {Strength * (%d)} {#IF (%1 < 17) {#VAR accept 0} {#VAR accept 1}}
#COND {Intelligence * (%d)} {#IF (%1 < 19) {#VAR accept 0}}
#COND {Wisdom * (%d)} {#IF (%1 < 14) {#VAR accept 0}}
#COND {Dexterity * (%d)} {#IF (%1 < 16) {#VAR accept 0}}
#COND {Constitution * (%d)} {#IF (%1 < 14) {#VAR accept 0};#IF (@accept = 1) {y} {n}}

Change the numbers to your desired stats. I used the ones from your post.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net