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


Joined: 20 Mar 2020
Posts: 1

PostPosted: Fri Mar 20, 2020 11:01 pm   

Help with making a roller for circle/diku mud
 
I am very novice at this but looking at different posts here I was wondering if someone could help me with a roller for this:


Ability Scores:
Str: 17/0 Int: 12 Wis: 13 Dex: 12 Con: 13 Cha: 10

Do you wish to keep this character (Y/N)?

and after you say no the mud replies

Character not created.


Do you wish to create another character (Y/N)?


Now I have seen these:

#TRIGGER {New stats: Str (%d)/(%d), Int (%d), Wis (%d), Dex (%d), Con (%d), Cha (%d)} {#IF (%1 > 14 & %3 > 18 & %4 > 18 & %5 > 15 & %6 > 13) {n;save;#ECHO done rerolling!!} {buy reroll}}

AND

#TR {New stats: Str (%d)/%d, Int (%d), Wis (%d), Dex (%d), Con (%d), Cha (%d)} {#IF ((%1 <= 18) OR (%2 <= 13) OR (%3 <= 13) OR (%4 <= 18) OR (%5 <= 18)) {buy reroll}} {} {prompt|nocr}

Now I want to figure out what buy reroll is and how to conform this to my situation. Just trying to roll 18/90+ and 17+ con

Thanks for any helps or tips Very Happy
Reply with quote
shalimar
GURU


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

PostPosted: Wed Mar 25, 2020 6:08 am   
 
You forgot the colons in the pattern after the abbreviated stat names.
There is a way to test if your trigger will fire if you switch to the pattern tab along the bottom.

Buy reroll in this example seems to be the command for confirming a stat selection.
_________________
Discord: Shalimar#3679
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