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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
likeoo
Newbie


Joined: 25 Jan 2017
Posts: 1

PostPosted: Mon Aug 28, 2017 10:32 am   

building an autoroller
 
Not sure how to capture the stats. i dont need to roll specific stats to be something, instead i can just look for say 2 perfects and 2 heroics. How would I setup something to scan all 8 slots and stop when I hit the desired number of values?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4662
Location: Pensacola, FL, USA

PostPosted: Mon Aug 28, 2017 1:06 pm   
 
Well you will want a trigger, but without seeing what the game gives you it is hard to go on.

#TR {Strength: (%w) Intelligence: (%w)} {
#LOCAL $perfect $heroic
#IF (%1=perfect) {#ADD $perfect 1}
#IF (%2=perfect) {#ADD $perfect 1}
#IF (%1=heroic) {#ADD $heroic 1}
//ectetera
#IF (($perfect>=2) AND ($heroic>=2)) {accept}
}
_________________
Discord: Shalimarwildcat
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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