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
Enathe
Novice


Joined: 17 Nov 2001
Posts: 34
Location: USA

PostPosted: 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
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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.
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