|
Raid0pR84 Newbie
Joined: 17 Nov 2002 Posts: 8
|
Posted: 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 |
|
|
|
Raid0pR84 Newbie
Joined: 17 Nov 2002 Posts: 8
|
Posted: 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 |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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 |
|
|
|
Raid0pR84 Newbie
Joined: 17 Nov 2002 Posts: 8
|
Posted: 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 |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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 |
|
|
|
Raid0pR84 Newbie
Joined: 17 Nov 2002 Posts: 8
|
Posted: Sun Nov 17, 2002 5:22 am |
once again thanks for the response
it works a lot better now :-) |
|
|
|
|
|