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


Joined: 12 Aug 2002
Posts: 1

PostPosted: Mon Aug 12, 2002 2:11 pm   

Help with autoroller
 
Hey, my stat roller a friend told me to load doesn't seem to work. Well, first of all, the stat rolls look something like this:
Your stats are:
Current Racial
Stat Max
Str: 53 110
Int: 24 45
Per: 26 60
Agi: 90 110
Con: 74 75
Is this acceptable?
And I load this script up into the zmud(Zmud Version 6.16):
#TRIGGER {Str:%s(%d)%s(%d)} {#if (%1<%eval(%2*90/110)) {Reroll=n}}
{Autoroller} 517
#TRIGGER {Int:%s(%d)%s(%d)} {#if (%1<%eval(%2*25/45)) {Reroll=n}}
{Autoroller} 517
#TRIGGER {Per:%s(%d)%s(%d)} {#if (%1<%eval(%2*31/60)) {Reroll=n}}
{Autoroller} 517
#TRIGGER {Agi:%s(%d)%s(%d)} {#if (%1<%eval(%2*95/110)) {Reroll=n}}
{Autoroller} 517
#TRIGGER {Con:%s(%d)%s(%d)} {#if (%1<%eval(%2*65/75)) {Reroll=n}}
{Autoroller} 517
#TRIGGER {Is this acceptable?} {@Reroll}
{Autoroller} 517
#TRIGGER {Your stats are:} {Reroll=y}
{Autoroller} 517

The problem is I always have an extra no because I have to type no to make the roller begin rolling. Can anyone help me here?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Aug 12, 2002 6:13 pm   
 
Change this trigger:
#TRIGGER {Is this acceptable?} {@Reroll}
{Autoroller} 517

to:
#TRIGGER {Is this acceptable?} {@Reroll}
{Autoroller} {nocr|prompt}

I have no idea what 517 is, the options are supposed to be a stringlist not a number.

LightBulb
Senior Member
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Tue Aug 13, 2002 3:42 am   
 
Hmm those numbers are familiar. I'd guess that came from a v5 export or v4.

Ton Diening
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