|
DemonLlama Beginner
Joined: 03 Nov 2002 Posts: 27 Location: USA
|
Posted: Tue Feb 04, 2003 8:18 pm
Substitution problems |
The mud I play doesn't give a hp amount for damage, just a verbal message. A few intrepid mudders have, though apparently exhaustive testing, figured out those values and now are trying to substitute in some numbers.
Example:
Mud output: Your slash scratches the iron golem.
Sub output: Your slash scratches the iron golem. (1-4)
I have all of them working, very easily, except one that simply will not work for me.
#tr {^Your (*) <<< ERADICATES >>> (*)!} {#sub {Your %1 ~<~<~< ERADICATES ~>~>~> %2! ~(300-400~)}
Mud output: Your slash <<< ERADICATES >>> the iron golem!
This keeps showing up as the following two lines, and alternating each time it sees an <<< ERADICATES >>>:
Sub output1: Your slash <<>> the iron golem!
Sub output2: Your slash <<>> the iron golem! (300-400)
Sub output1: Your slash <<>> the iron golem!
Sub output2: Your slash <<>> the iron golem! (300-400)
... over and over. Any help would be appreciated, thanks!
~DemonLlama~ |
|
|
|
Latent Apprentice
Joined: 19 Aug 2002 Posts: 120 Location: USA
|
Posted: Tue Feb 04, 2003 8:41 pm |
Try this I think...
#tr {^Your (*) ~<~<~< ERADICATES ~>~>~> (*)!} {#sub {Your %1 ~<~<~< ERADICATES ~>~>~> %2! ~(300-400~)} |
|
|
|
DemonLlama Beginner
Joined: 03 Nov 2002 Posts: 27 Location: USA
|
Posted: Wed Feb 05, 2003 4:42 am |
Still didn't work, had to use this:
#tr {^Your * <<< ERADICATES >>> *!} {#sub {%line ~(300-400~)}}
Works in testing, don't know what'll happen in the middle of a big fight.
~DemonLlama~ |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Wed Feb 05, 2003 4:50 am |
Check the option "trigger on trigger" to ensure it is disabled for the trigger.
If you are getting many outputs as suggested perhaps it is catching
itself.
Ton Diening |
|
|
|
DemonLlama Beginner
Joined: 03 Nov 2002 Posts: 27 Location: USA
|
Posted: Thu Feb 06, 2003 3:07 pm |
Tried the "Trigger on Trigger" thing... still showing this:
Sub output1: Your slash <> the iron golem!
Sub output2: Your slash <<>> the iron golem! (300-400)
Sub output1: Your slash <> the iron golem!
Sub output2: Your slash <<>> the iron golem! (300-400)
~DemonLlama~ |
|
|
|
Evangelist Adept
Joined: 10 Oct 2000 Posts: 224 Location: USA
|
Posted: Thu Feb 06, 2003 5:25 pm |
#tr {^Your %w* ~<~<~< ERADICATES ~>~>~> %w* !} {#sub {Your %1 ~<~<~< ERADICATES ~>~>~> %2! ~(300-400~)}
Try that?
Not sure if it will work, but worth a shot
Evangelist/Pernius
telnet://phidar.com:9000 |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Feb 06, 2003 9:32 pm |
As long as you're changing things anyway, get rid of the symbol that's giving you problems.
#TR {^Your (*) ~<~<~< ERADICATES ~>~>~> (*)!} {#SUB {Your %1 *** ERADICATES *** %2! ~(300-400~)}}
LightBulb
Advanced Member |
|
|
|
|
|