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


Joined: 17 Nov 2002
Posts: 8

PostPosted: Sun Nov 17, 2002 3:57 am   

Auto roller
 
help ive been trying to create and auto char roller without much success

Strength: 13 Intelligence: 19 Wisdom: 13 Dexterity: 14 Constitution: 12
Do these reflect your training (Y/N)?
that is the out put from the server to my screen
what ive tried then is
Strength: (%d) Intelligence: (%d) Wisdom: (%d) Dexterity: (%d) Constitution: (%d)

#if (((%1)+(%2)+(%3)+(%4)+(%5))>=93) {#beep} {no}

buy i cant seem to get it to work (and being new to scripts and zmud) are they triggers alias's or what ??

the mud is darkmists.org port: 2222
Reply with quote
Raid0pR84
Newbie


Joined: 17 Nov 2002
Posts: 8

PostPosted: Sun Nov 17, 2002 4:41 am   
 
hahaha i must need some sleep
hmm i forgot to type execute how stupid of me

now to see if it works
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Nov 17, 2002 4:46 am   
 
Autorollers are triggers. What you have looks like it should work. The only thing I can suggest is to check the number of spaces between things.

(An average stat of 18.6 is probably extremely rare)

LightBulb
Senior Member
Reply with quote
Raid0pR84
Newbie


Joined: 17 Nov 2002
Posts: 8

PostPosted: Sun Nov 17, 2002 4:58 am   
 
thanks for the reply lightbulb
im seeing if it works now
i had to change
Strength: (%d) Intelligence: (%d) Wisdom: (%d) Dexterity: (%d) Constitution: (%d)
to
Strength: %d Intelligence: %d Wisdom: %d Dexterity: %d Constitution: %d

because it gave me an error on Intelligence
like so
#trigger Strength: (%d) Intelligence: (%d) Wisdom: (%d) Dexterity: (%d) Constitution: (%d)
................................^ syntax error
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Nov 17, 2002 5:14 am   
 
Ah, if you're doing this at the command line, use:
#TR {Strength: (%d) Intelligence: (%d) Wisdom: (%d) Dexterity: (%d) Constitution: (%d)} {#if (((%1)+(%2)+(%3)+(%4)+(%5))>=93) {#beep} {no}}

LightBulb
Senior Member
Reply with quote
Raid0pR84
Newbie


Joined: 17 Nov 2002
Posts: 8

PostPosted: Sun Nov 17, 2002 5:22 am   
 
once again thanks for the response
it works a lot better now :-)
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