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


Joined: 15 Dec 2001
Posts: 4
Location: USA

PostPosted: Sat May 25, 2002 3:00 am   

auto roller info please i really cant figure this
 
i need a roller but im kinda clueless on how to make one .... syntax i need for is
Do you want to keep these stats? [Y/N] Rolled: str [18(70)] int [7] wis dex con [13] cha
how do i make a trigger that says ok when certain stats pop up ... ??? can someone please help me

tybalto wandere of aoc
Reply with quote
tybalto
Newbie


Joined: 15 Dec 2001
Posts: 4
Location: USA

PostPosted: Sat May 25, 2002 3:04 am   
 
forgot to put this ...

Do you want to keep these stats? [Y/N]

if stats match what i want

tybalto wandere of aoc
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Sat May 25, 2002 3:28 am   
 


Do you want to keep these stats? [Y/N] Rolled: str [18(70)] int [7] wis dex con [13] cha


Confused what you really see but the idea would be something like:

#TRIGGER {Rolled: str ~[(%d)~((%d)~)~] int ~[(%d)~] wis ~[(%d)~] dex ~[(%d)~] con ~[(%d)~] cha ~[(%d)~]} {#IF ((%1 >= 10) AND ((%2 == 00) OR (%2 > 80)) AND (%3 >= 10) AND (%4 >= 10) AND (%5 >= 10) AND (%6 >= 10) AND (%7 >= 10)) {#VAR autoroll Y} {#VAR autoroll N}}

where:
%1 = str
%2 = str bonus
%3 = int
%4 = wis
%5 = dex
%6 = con
%7 = cha

you'd have to modify the minimums desired as they are all set to 10 in the example
Strength bonus is set to look for a 00 or > 80

and for days that there might be no str [##(##)] but str [##]

#TRIGGER {Rolled: str ~[(%d)~] int ~[(%d)~] wis ~[(%d)~] dex ~[(%d)~] con ~[(%d)~] cha ~[(%d)~]} {#IF ((%1 >= 10) AND (%2 >= 10) AND (%3 >= 10) AND (%4 >= 10) AND (%5 >= 10) AND (%6 >= 10)) {#VAR autoroll Y} {#VAR autoroll N}}

where:
%1 = str
%2 = int
%3 = wis
%4 = dex
%5 = con
%6 = cha


#TRIGGER {Do you want to keep these stats? ~[Y~/N~]} {@autoroll} {nocr|prompt}



TonDiening
Beta Upgrading to 6.26
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