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
Matt Rusk
Newbie


Joined: 07 Mar 2002
Posts: 3

PostPosted: Thu Mar 07, 2002 6:37 am   

Autoroller for Age of Chaos
 
I dont know if this has already been done but I want an autoroller for this game
The setup is as follows

Rolled: str [17(0)] int [12] wis [14] dex [11] con [9] cha [12]

thanks
Reply with quote
Matt Rusk
Newbie


Joined: 07 Mar 2002
Posts: 3

PostPosted: Thu Mar 07, 2002 6:40 am   
 
An addition that may help is

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

its the next string after rolled stats

thanks
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu Mar 07, 2002 5:19 pm   
 
You didn't say what values you would consider worth keeping, so I used the ones in your sample. Change them to suit your own preferences.

#CLASS Autoroller
#VAR Str1 17
#VAR Str2 0
#VAR Int 12
#VAR Wis 14
#VAR Dex 11
#VAR Con 9
#VAR Cha 12
#TR {Rolled: str ~[(%d)~((%d)~)~} int ~[(%d)~] wis ~[(%d)~] dex ~[(%d)~] con ~[(%d)~] cha ~[(%d)~]} {#IF ((%1 >= @Str1) AND (%2 >= Str2) AND (%3 >= @Int) AND (%4 >= @Wis) AND (%5 >= @Dex) AND (%6 >= @Con) AND (%7 >= %Cha)) {Y} {N}}
#CLASS 0


LightBulb
All scripts untested unless otherwise noted
Reply with quote
Matt Rusk
Newbie


Joined: 07 Mar 2002
Posts: 3

PostPosted: Thu Mar 07, 2002 5:39 pm   
 
I have no idea how to setup that up in Zmud
any direction would be helpful

thanks again
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Thu Mar 07, 2002 8:08 pm   
 
Just copy and paste what LightBulb posted into the comand line. Be sure to change the numbers after each of the #VAR name to whatever minum value yo want to have for those attributes.

Kjata
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Thu Mar 07, 2002 8:09 pm   
 
Export this to a file:


#CLASS Autoroller
#VAR Str1 17
#VAR Str2 0
#VAR Int 12
#VAR Wis 14
#VAR Dex 11
#VAR Con 9
#VAR Cha 12
#TR {Rolled: str ~[(%d)~((%d)~)~} int ~[(%d)~] wis ~[(%d)~] dex ~[(%d)~] con ~[(%d)~] cha ~[(%d)~]} {#IF ((%1 >= @Str1) AND (%2 >= Str2) AND (%3 >= @Int) AND (%4 >= @Wis) AND (%5 >= @Dex) AND (%6 >= @Con) AND (%7 >= %Cha)) {Y} {N}}
#CLASS 0


Settings->Import
Then choose to import ASCII script files and choose that file.

It should load it all into a class folder
called Autoroller

TonDiening
Beta Upgrading to 6.26
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Fri Mar 08, 2002 2:25 pm   
 
Once Matt tries this script out, someone should repost it under Finished Scripts..

Asati di tempari!
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