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
kompressormight
Newbie


Joined: 06 Mar 2007
Posts: 6

PostPosted: Thu Mar 29, 2007 7:54 pm   

single line rolling script help
 
Alright, I've been browsing the forums to try and figure out how to create an automatic rolling script for myself, but haven't seen any examples as to how to do this on a single line, only multiple line examples. if anyone could give me a hand it'd be greatly appreciated.
The formatting is so:
Quote:
Your roll: 9, 16, 11, 8, 10, 14

and I'm looking to get either all 18s or a minimum of 4 18s and 2 17s, or 5 18s and 1 17.. you get the picture. Thanks.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Thu Mar 29, 2007 8:39 pm   
 
Is 18 the maximum? If it is:

#trig {Your roll: (%d), (%d), (%d), (%d), (%d), (%d)} {#if (%eval(%1+%2+%3+%4+%5+%6)>106) {whatever} {reroll}}
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