Celina2008-07-16 00:44:47
I am using Acrune's astrology system, but I've found a problem and I have no idea why it's doing this or how to fix it.
First, you should know that Aapek under twin crystals is SCABIES not AEON.
He is 38 years old, having been born on the 16th of Dioni, 173 years after the
Coming of Estarra.
On that date:
Sun was in the sign of the Antlers.
Moon was in the sign of the Bumblebee.
Eroee was in the sign of the Crocodile.
Sidiak was in the sign of the Volcano.
Tarox was in the sign of the Spider.
Papaxi was in the sign of the Dragon.
Aapek was in the sign of the Twin Crystals.
http://forums.lusternia.com/index.php?show...mp;hl=astrology
That's the link to the whole code. The particular code that finds nativities is this:
#CLASS {attackAliases|Celestine|nativityFind}
#ALIAS testdb {#SHOW %db( @nativityStore, Acrune-Sun)}
#VAR nativityStore {}
#VAR astrTar {acrune}
#VAR noEcho {0} {0}
#ONINPUT {nativity (%w)} {
targetsnativity = %1
#var astrTar %1
}
#COND {{He|She} is %d years old, having been born on the} {#gag}
#COND {Coming of Estarra.} {#gag} {within|param=1}
#COND {On that date:} {#sub {Astrology afflictions for @targetsnativity:}} {within|param=1}
#COND {Sun was in the sign of the %1.} {#IF (%1 = "Volcano" OR %1 = "Dragon") {#Sub {Sun does %ansi(yellow)Fire %ansi(grey)Damage (%1)}} {#IF (%1 = "Twin Crystals") {#Sub {Sun does %ansi(yellow)Psychic %ansi(grey)Damage (%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion") {#Sub {Sun does %ansi(yellow)Cutting %ansi(grey)Damage (%1)}} {#IF (%1 = "Dolphin" OR %1 = "Glacier") {#Sub {Sun does %ansi(yellow)Cold %ansi(grey)Damage (%1)}} {#IF (%1 = "Crocodile" OR %1 = "Burning Censer") {#Sub {Sun does %ansi(yellow)Asphyxiation %ansi(grey)Damage (%1)}} {#IF (%1 = "Spider" OR %1 = "Bumblebee") {#Sub {Sun does %ansi(yellow)Poison %ansi(grey)Damage (%1)}} {#IF (%1 = "Skull") {#Sub {Sun does %ansi(yellow)Blunt %ansi(grey)Damage (%1)}}}}}}}}} {within|param=1}
#COND {Moon was in the sign of the %1.} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#sub {Moon will afflict them with %ansi(high,green)Hallucinate %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#sub {Moon will afflict them with %ansi(yellow)Dizziness %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#sub {Moon will afflict them with %ansi(red)Dementia %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Eroee was in the sign of the %1{.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#sub {Eroee will afflict them with %ansi(high,green)Sensitivity %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#sub {Eroee will afflict them with %ansi(yellow)Peace %ansi(grey)(%1)}} {#IF (%1 = "Crocodile" OR %1 = "Twin Crystals" OR %1 = "Dragon" OR %1 = "Glacier") {#sub {Eroee will afflict them with %ansi(red)Love %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Sidiak was in the sign of the %1{.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Sidiak will afflict them with %ansi(high,green)Stupidity %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Sidiak will afflict them with %ansi(red)Amnesia %ansi(grey)(%1)}} {#IF (%1 = "Crocodile" OR %1 = "Twin Crystals" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Sidiak will afflict them with %ansi(yellow)Confusion %ansi(grey)(%1)}}}}}
#COND {Tarox was in the sign of the %1{.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Tarox will afflict them with %ansi(yellow)Recklessness %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Tarox will afflict them with %ansi(high,green)Asthma %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Tarox will afflict them with %ansi(red)Freeze %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Papaxi was in the sign of the %1{.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Papaxi will afflict them with %ansi(red)Ego Reduction %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Papaxi will afflict them with %ansi(high,green)Health Reduction %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Papaxi will afflict them with %ansi(yellow)Mana Reduction %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Aapek was in the sign of the %1{.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Aapek will afflict them with %ansi(high,green)Aeon %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Aapek will afflict them with %ansi(yellow)Anorexia %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Aapek will afflict them with %ansi(red)Pox %ansi(grey)(%1)}}}}} {within|param=1}
#TRIGGER {Sun does (%x) Damage} {#if (!%pos( %lower( @astrTar-Sun), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Sun %1}}
#TRIGGER {Moon will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Moon), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Moon %1}}
#TRIGGER {Eroee will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Eroee), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Eroee %1}}
#TRIGGER {Sidiak will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Sidiak), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Sidiak %1}}
#TRIGGER {Tarox will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Tarox), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Tarox %1}}
#TRIGGER {Papaxi will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Papaxi), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Papaxi %1}}
#TRIGGER {Aapek will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Aapek), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Aapek %1}}
#TRIGGER {In a brilliant ray of light, the power of (%x) lashes down upon (%x).} {#if (@noEcho = 0) {#if (%pos( %lower( %2-%1), %lower( @nativityStore))) {#SHOW -------%2 is afflicted by %db( @nativityStore, %2-%1)-------} {#alarm +2 {nativity %2}}}{#var noEcho 0}}
#TRIGGER {You raise your arms to the sky and channel the energies of the} {#var noEcho 1}
#CLASS 0
here's the problem. When the system is on, it does this.
Astrology afflictions for melville:
Sun does Cutting Damage (Antlers)
Moon will afflict them with Dizziness (Bumblebee)
Eroee will afflict them with Love (Crocodile)
Sidiak will afflict them with Stupidity (Volcano)
Tarox will afflict them with Asthma (Spider)
Papaxi will afflict them with Mana Reduction (Dragon)
Aapek will afflict them with Aeon (Twin Crystals)
I am so confused
First, you should know that Aapek under twin crystals is SCABIES not AEON.
He is 38 years old, having been born on the 16th of Dioni, 173 years after the
Coming of Estarra.
On that date:
Sun was in the sign of the Antlers.
Moon was in the sign of the Bumblebee.
Eroee was in the sign of the Crocodile.
Sidiak was in the sign of the Volcano.
Tarox was in the sign of the Spider.
Papaxi was in the sign of the Dragon.
Aapek was in the sign of the Twin Crystals.
http://forums.lusternia.com/index.php?show...mp;hl=astrology
That's the link to the whole code. The particular code that finds nativities is this:
#CLASS {attackAliases|Celestine|nativityFind}
#ALIAS testdb {#SHOW %db( @nativityStore, Acrune-Sun)}
#VAR nativityStore {}
#VAR astrTar {acrune}
#VAR noEcho {0} {0}
#ONINPUT {nativity (%w)} {
targetsnativity = %1
#var astrTar %1
}
#COND {{He|She} is %d years old, having been born on the} {#gag}
#COND {Coming of Estarra.} {#gag} {within|param=1}
#COND {On that date:} {#sub {Astrology afflictions for @targetsnativity:}} {within|param=1}
#COND {Sun was in the sign of the %1.} {#IF (%1 = "Volcano" OR %1 = "Dragon") {#Sub {Sun does %ansi(yellow)Fire %ansi(grey)Damage (%1)}} {#IF (%1 = "Twin Crystals") {#Sub {Sun does %ansi(yellow)Psychic %ansi(grey)Damage (%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion") {#Sub {Sun does %ansi(yellow)Cutting %ansi(grey)Damage (%1)}} {#IF (%1 = "Dolphin" OR %1 = "Glacier") {#Sub {Sun does %ansi(yellow)Cold %ansi(grey)Damage (%1)}} {#IF (%1 = "Crocodile" OR %1 = "Burning Censer") {#Sub {Sun does %ansi(yellow)Asphyxiation %ansi(grey)Damage (%1)}} {#IF (%1 = "Spider" OR %1 = "Bumblebee") {#Sub {Sun does %ansi(yellow)Poison %ansi(grey)Damage (%1)}} {#IF (%1 = "Skull") {#Sub {Sun does %ansi(yellow)Blunt %ansi(grey)Damage (%1)}}}}}}}}} {within|param=1}
#COND {Moon was in the sign of the %1.} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#sub {Moon will afflict them with %ansi(high,green)Hallucinate %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#sub {Moon will afflict them with %ansi(yellow)Dizziness %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#sub {Moon will afflict them with %ansi(red)Dementia %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Eroee was in the sign of the %1{.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#sub {Eroee will afflict them with %ansi(high,green)Sensitivity %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#sub {Eroee will afflict them with %ansi(yellow)Peace %ansi(grey)(%1)}} {#IF (%1 = "Crocodile" OR %1 = "Twin Crystals" OR %1 = "Dragon" OR %1 = "Glacier") {#sub {Eroee will afflict them with %ansi(red)Love %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Sidiak was in the sign of the %1{.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Sidiak will afflict them with %ansi(high,green)Stupidity %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Sidiak will afflict them with %ansi(red)Amnesia %ansi(grey)(%1)}} {#IF (%1 = "Crocodile" OR %1 = "Twin Crystals" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Sidiak will afflict them with %ansi(yellow)Confusion %ansi(grey)(%1)}}}}}
#COND {Tarox was in the sign of the %1{.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Tarox will afflict them with %ansi(yellow)Recklessness %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Tarox will afflict them with %ansi(high,green)Asthma %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Tarox will afflict them with %ansi(red)Freeze %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Papaxi was in the sign of the %1{.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Papaxi will afflict them with %ansi(red)Ego Reduction %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Papaxi will afflict them with %ansi(high,green)Health Reduction %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Papaxi will afflict them with %ansi(yellow)Mana Reduction %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Aapek was in the sign of the %1{.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Aapek will afflict them with %ansi(high,green)Aeon %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Aapek will afflict them with %ansi(yellow)Anorexia %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Aapek will afflict them with %ansi(red)Pox %ansi(grey)(%1)}}}}} {within|param=1}
#TRIGGER {Sun does (%x) Damage} {#if (!%pos( %lower( @astrTar-Sun), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Sun %1}}
#TRIGGER {Moon will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Moon), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Moon %1}}
#TRIGGER {Eroee will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Eroee), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Eroee %1}}
#TRIGGER {Sidiak will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Sidiak), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Sidiak %1}}
#TRIGGER {Tarox will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Tarox), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Tarox %1}}
#TRIGGER {Papaxi will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Papaxi), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Papaxi %1}}
#TRIGGER {Aapek will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Aapek), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Aapek %1}}
#TRIGGER {In a brilliant ray of light, the power of (%x) lashes down upon (%x).} {#if (@noEcho = 0) {#if (%pos( %lower( %2-%1), %lower( @nativityStore))) {#SHOW -------%2 is afflicted by %db( @nativityStore, %2-%1)-------} {#alarm +2 {nativity %2}}}{#var noEcho 0}}
#TRIGGER {You raise your arms to the sky and channel the energies of the} {#var noEcho 1}
#CLASS 0
here's the problem. When the system is on, it does this.
Astrology afflictions for melville:
Sun does Cutting Damage (Antlers)
Moon will afflict them with Dizziness (Bumblebee)
Eroee will afflict them with Love (Crocodile)
Sidiak will afflict them with Stupidity (Volcano)
Tarox will afflict them with Asthma (Spider)
Papaxi will afflict them with Mana Reduction (Dragon)
Aapek will afflict them with Aeon (Twin Crystals)
I am so confused
Laysus2008-07-16 00:47:29
What you should do is pay laysus to make you a better astrology system
Seriously >.>
Seriously >.>
Celina2008-07-16 00:50:16
That depends on how much you charge
Esano2008-07-16 01:02:25
CODE
#COND {Aapek was in the sign of the %1{.| (retrograde).}}
    {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull")
        {#SUB {Aapek will afflict them with %ansi(high,green)Aeon %ansi(grey)(%1)}}
                  (else)
        {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee")
            {#SUB {Aapek will afflict them with %ansi(yellow)Anorexia %ansi(grey)(%1)}}
                          (else)
            {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier")
                {#SUB {Aapek will afflict them with %ansi(red)Pox %ansi(grey)(%1)}}}}} {within|param=1}
    {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull")
        {#SUB {Aapek will afflict them with %ansi(high,green)Aeon %ansi(grey)(%1)}}
                  (else)
        {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee")
            {#SUB {Aapek will afflict them with %ansi(yellow)Anorexia %ansi(grey)(%1)}}
                          (else)
            {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier")
                {#SUB {Aapek will afflict them with %ansi(red)Pox %ansi(grey)(%1)}}}}} {within|param=1}
Because it's much nicer to read it when you actually can. I added the elses in myself.
I can't see anything wrong with it on first glance. You might try changing them from stacked to simply one after the other (not within the if-false arguments) but I can't see how it would make any difference. Remember to move the end-brackets around if you do that, though.
First question, though: are you sure this is the code actually in your system, and that you haven't accidentally edited it?
Celina2008-07-16 01:09:08
I copied it directly from forums and did not edit it. I even deleted it and redid it to make sure. The effect is the same. That's what has me so confused, I haven't touched it.
Esano2008-07-16 01:13:21
Well, now it could be a few things:
Zmud's string matching abilities,
Zmud's wild-card capture (the %1 up the top) meaning it stops at the space for whatever reason.
Do you get the same problem with any other signs, especially Burning Censer?
Zmud's string matching abilities,
Zmud's wild-card capture (the %1 up the top) meaning it stops at the space for whatever reason.
Do you get the same problem with any other signs, especially Burning Censer?
Celina2008-07-16 01:33:32
QUOTE(Esano @ Jul 15 2008, 08:13 PM) 533300
Well, now it could be a few things:
Zmud's string matching abilities,
Zmud's wild-card capture (the %1 up the top) meaning it stops at the space for whatever reason.
Do you get the same problem with any other signs, especially Burning Censer?
Zmud's string matching abilities,
Zmud's wild-card capture (the %1 up the top) meaning it stops at the space for whatever reason.
Do you get the same problem with any other signs, especially Burning Censer?
The testing I've done so far has shown no problems other than aapek under Twin Crystals. I'll check burning Censor on a few people
Unknown2008-07-16 02:19:14
You could try this:
#COND {Aapek was in the sign of the %1{.| (retrograde).}} {#IF ({%1} =~ "Volcano" OR {%1} =~ "Dolphin" OR {%1} =~ "Burning Censer" OR {%1} =~ "Skull") {#SUB {Aapek will afflict them with %ansi(high,green)Aeon %ansi(grey)(%1)}} {#IF ({%1} =~ "Antlers" OR {%1} =~ "Lion" OR {%1} =~ "Spider" OR {%1} =~ "Bumblebee") {#SUB {Aapek will afflict them with %ansi(yellow)Anorexia %ansi(grey)(%1)}} {#IF ({%1} =~ "Twin Crystals" OR {%1} =~ "Crocodile" OR {%1} =~ "Dragon" OR {%1} =~ "Glacier") {#SUB {Aapek will afflict them with %ansi(red)Pox %ansi(grey)(%1)}}}}} {within|param=1}
It looks like Zmud has problems trying to match two word phrases so you'd need to go back and change all of the %1 = "Blah" to {%1} =~ "Blah" to have it match correctly. Otherwise, "Twin Crystals" and "Burning Censer" will match whatever is in your first #IF statement. At least, from my tinkering that seems to be the case. Not being an astrologer myself, I'd check to see if anyone born under the sign of "Twin Crystals" is actually displaying the right affliction.
#COND {Aapek was in the sign of the %1{.| (retrograde).}} {#IF ({%1} =~ "Volcano" OR {%1} =~ "Dolphin" OR {%1} =~ "Burning Censer" OR {%1} =~ "Skull") {#SUB {Aapek will afflict them with %ansi(high,green)Aeon %ansi(grey)(%1)}} {#IF ({%1} =~ "Antlers" OR {%1} =~ "Lion" OR {%1} =~ "Spider" OR {%1} =~ "Bumblebee") {#SUB {Aapek will afflict them with %ansi(yellow)Anorexia %ansi(grey)(%1)}} {#IF ({%1} =~ "Twin Crystals" OR {%1} =~ "Crocodile" OR {%1} =~ "Dragon" OR {%1} =~ "Glacier") {#SUB {Aapek will afflict them with %ansi(red)Pox %ansi(grey)(%1)}}}}} {within|param=1}
It looks like Zmud has problems trying to match two word phrases so you'd need to go back and change all of the %1 = "Blah" to {%1} =~ "Blah" to have it match correctly. Otherwise, "Twin Crystals" and "Burning Censer" will match whatever is in your first #IF statement. At least, from my tinkering that seems to be the case. Not being an astrologer myself, I'd check to see if anyone born under the sign of "Twin Crystals" is actually displaying the right affliction.
Unknown2008-07-16 02:51:42
Actually... all of the %1 in the conditional triggers aren't marked as captures, so it's a wonder they're working at all.
CODE
#CLASS {attackAliases|Celestine|nativityFind}
#ALIAS testdb {#SHOW %db( @nativityStore, Acrune-Sun)}
#VAR nativityStore {}
#VAR astrTar {acrune}
#VAR noEcho {0} {0}
#ONINPUT {nativity (%w)} {
targetsnativity = %1
#var astrTar %1
}
#COND {{He|She} is %d years old, having been born on the} {#gag}
#COND {Coming of Estarra.} {#gag} {within|param=1}
#COND {On that date:} {#sub {Astrology afflictions for @targetsnativity:}} {within|param=1}
#COND {Sun was in the sign of the ({Antlers|Bumblebee|Burning Censer|Crocodile|Dolphin|Dragon|Glacier|Lion|Skull|Spider|Twin Crystals|Volcano}).} {#IF (%1 = "Volcano" OR %1 = "Dragon") {#Sub {Sun does %ansi(yellow)Fire %ansi(grey)Damage (%1)}} {#IF (%1 = "Twin Crystals") {#Sub {Sun does %ansi(yellow)Psychic %ansi(grey)Damage (%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion") {#Sub {Sun does %ansi(yellow)Cutting %ansi(grey)Damage (%1)}} {#IF (%1 = "Dolphin" OR %1 = "Glacier") {#Sub {Sun does %ansi(yellow)Cold %ansi(grey)Damage (%1)}} {#IF (%1 = "Crocodile" OR %1 = "Burning Censer") {#Sub {Sun does %ansi(yellow)Asphyxiation %ansi(grey)Damage (%1)}} {#IF (%1 = "Spider" OR %1 = "Bumblebee") {#Sub {Sun does %ansi(yellow)Poison %ansi(grey)Damage (%1)}} {#IF (%1 = "Skull") {#Sub {Sun does %ansi(yellow)Blunt %ansi(grey)Damage (%1)}}}}}}}}} {within|param=1}
#COND {Moon was in the sign of the ({Antlers|Bumblebee|Burning Censer|Crocodile|Dolphin|Dragon|Glacier|Lion|Skull|Spider|Twin Crystals|Volcano}).} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#sub {Moon will afflict them with %ansi(high,green)Hallucinate %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#sub {Moon will afflict them with %ansi(yellow)Dizziness %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#sub {Moon will afflict them with %ansi(red)Dementia %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Eroee was in the sign of the ({Antlers|Bumblebee|Burning Censer|Crocodile|Dolphin|Dragon|Glacier|Lion|Skull|Spider|Twin Crystals|Volcano}){.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#sub {Eroee will afflict them with %ansi(high,green)Sensitivity %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#sub {Eroee will afflict them with %ansi(yellow)Peace %ansi(grey)(%1)}} {#IF (%1 = "Crocodile" OR %1 = "Twin Crystals" OR %1 = "Dragon" OR %1 = "Glacier") {#sub {Eroee will afflict them with %ansi(red)Love %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Sidiak was in the sign of the ({Antlers|Bumblebee|Burning Censer|Crocodile|Dolphin|Dragon|Glacier|Lion|Skull|Spider|Twin Crystals|Volcano}){.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Sidiak will afflict them with %ansi(high,green)Stupidity %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Sidiak will afflict them with %ansi(red)Amnesia %ansi(grey)(%1)}} {#IF (%1 = "Crocodile" OR %1 = "Twin Crystals" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Sidiak will afflict them with %ansi(yellow)Confusion %ansi(grey)(%1)}}}}}
#COND {Tarox was in the sign of the ({Antlers|Bumblebee|Burning Censer|Crocodile|Dolphin|Dragon|Glacier|Lion|Skull|Spider|Twin Crystals|Volcano}){.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Tarox will afflict them with %ansi(yellow)Recklessness %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Tarox will afflict them with %ansi(high,green)Asthma %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Tarox will afflict them with %ansi(red)Freeze %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Papaxi was in the sign of the ({Antlers|Bumblebee|Burning Censer|Crocodile|Dolphin|Dragon|Glacier|Lion|Skull|Spider|Twin Crystals|Volcano}){.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Papaxi will afflict them with %ansi(red)Ego Reduction %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Papaxi will afflict them with %ansi(high,green)Health Reduction %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Papaxi will afflict them with %ansi(yellow)Mana Reduction %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Aapek was in the sign of the ({Antlers|Bumblebee|Burning Censer|Crocodile|Dolphin|Dragon|Glacier|Lion|Skull|Spider|Twin Crystals|Volcano}){.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Aapek will afflict them with %ansi(high,green)Aeon %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Aapek will afflict them with %ansi(yellow)Anorexia %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Aapek will afflict them with %ansi(red)Pox %ansi(grey)(%1)}}}}} {within|param=1}
#TRIGGER {Sun does (%x) Damage} {#if (!%pos( %lower( @astrTar-Sun), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Sun %1}}
#TRIGGER {Moon will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Moon), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Moon %1}}
#TRIGGER {Eroee will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Eroee), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Eroee %1}}
#TRIGGER {Sidiak will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Sidiak), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Sidiak %1}}
#TRIGGER {Tarox will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Tarox), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Tarox %1}}
#TRIGGER {Papaxi will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Papaxi), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Papaxi %1}}
#TRIGGER {Aapek will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Aapek), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Aapek %1}}
#TRIGGER {In a brilliant ray of light, the power of (%x) lashes down upon (%x).} {#if (@noEcho = 0) {#if (%pos( %lower( %2-%1), %lower( @nativityStore))) {#SHOW -------%2 is afflicted by %db( @nativityStore, %2-%1)-------} {#alarm +2 {nativity %2}}}{#var noEcho 0}}
#TRIGGER {You raise your arms to the sky and channel the energies of the} {#var noEcho 1}
#CLASS 0
Try that. It's a quick and dirty fix, but the patterns should match for %1 properly. None of those %1's were marked as a capture, so they should have been acting funky to start with. All I did was swap %1 with ({Antlers|Bumblebee|Burning Censer|Crocodile|Dolphin|Dragon|Glacier|Lion|Skull|Spider|Twin Crystals|Volcano}) which should not only make it work a little better, but will also only match for the values in that string of options.#ALIAS testdb {#SHOW %db( @nativityStore, Acrune-Sun)}
#VAR nativityStore {}
#VAR astrTar {acrune}
#VAR noEcho {0} {0}
#ONINPUT {nativity (%w)} {
targetsnativity = %1
#var astrTar %1
}
#COND {{He|She} is %d years old, having been born on the} {#gag}
#COND {Coming of Estarra.} {#gag} {within|param=1}
#COND {On that date:} {#sub {Astrology afflictions for @targetsnativity:}} {within|param=1}
#COND {Sun was in the sign of the ({Antlers|Bumblebee|Burning Censer|Crocodile|Dolphin|Dragon|Glacier|Lion|Skull|Spider|Twin Crystals|Volcano}).} {#IF (%1 = "Volcano" OR %1 = "Dragon") {#Sub {Sun does %ansi(yellow)Fire %ansi(grey)Damage (%1)}} {#IF (%1 = "Twin Crystals") {#Sub {Sun does %ansi(yellow)Psychic %ansi(grey)Damage (%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion") {#Sub {Sun does %ansi(yellow)Cutting %ansi(grey)Damage (%1)}} {#IF (%1 = "Dolphin" OR %1 = "Glacier") {#Sub {Sun does %ansi(yellow)Cold %ansi(grey)Damage (%1)}} {#IF (%1 = "Crocodile" OR %1 = "Burning Censer") {#Sub {Sun does %ansi(yellow)Asphyxiation %ansi(grey)Damage (%1)}} {#IF (%1 = "Spider" OR %1 = "Bumblebee") {#Sub {Sun does %ansi(yellow)Poison %ansi(grey)Damage (%1)}} {#IF (%1 = "Skull") {#Sub {Sun does %ansi(yellow)Blunt %ansi(grey)Damage (%1)}}}}}}}}} {within|param=1}
#COND {Moon was in the sign of the ({Antlers|Bumblebee|Burning Censer|Crocodile|Dolphin|Dragon|Glacier|Lion|Skull|Spider|Twin Crystals|Volcano}).} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#sub {Moon will afflict them with %ansi(high,green)Hallucinate %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#sub {Moon will afflict them with %ansi(yellow)Dizziness %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#sub {Moon will afflict them with %ansi(red)Dementia %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Eroee was in the sign of the ({Antlers|Bumblebee|Burning Censer|Crocodile|Dolphin|Dragon|Glacier|Lion|Skull|Spider|Twin Crystals|Volcano}){.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#sub {Eroee will afflict them with %ansi(high,green)Sensitivity %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#sub {Eroee will afflict them with %ansi(yellow)Peace %ansi(grey)(%1)}} {#IF (%1 = "Crocodile" OR %1 = "Twin Crystals" OR %1 = "Dragon" OR %1 = "Glacier") {#sub {Eroee will afflict them with %ansi(red)Love %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Sidiak was in the sign of the ({Antlers|Bumblebee|Burning Censer|Crocodile|Dolphin|Dragon|Glacier|Lion|Skull|Spider|Twin Crystals|Volcano}){.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Sidiak will afflict them with %ansi(high,green)Stupidity %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Sidiak will afflict them with %ansi(red)Amnesia %ansi(grey)(%1)}} {#IF (%1 = "Crocodile" OR %1 = "Twin Crystals" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Sidiak will afflict them with %ansi(yellow)Confusion %ansi(grey)(%1)}}}}}
#COND {Tarox was in the sign of the ({Antlers|Bumblebee|Burning Censer|Crocodile|Dolphin|Dragon|Glacier|Lion|Skull|Spider|Twin Crystals|Volcano}){.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Tarox will afflict them with %ansi(yellow)Recklessness %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Tarox will afflict them with %ansi(high,green)Asthma %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Tarox will afflict them with %ansi(red)Freeze %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Papaxi was in the sign of the ({Antlers|Bumblebee|Burning Censer|Crocodile|Dolphin|Dragon|Glacier|Lion|Skull|Spider|Twin Crystals|Volcano}){.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Papaxi will afflict them with %ansi(red)Ego Reduction %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Papaxi will afflict them with %ansi(high,green)Health Reduction %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Papaxi will afflict them with %ansi(yellow)Mana Reduction %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Aapek was in the sign of the ({Antlers|Bumblebee|Burning Censer|Crocodile|Dolphin|Dragon|Glacier|Lion|Skull|Spider|Twin Crystals|Volcano}){.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Aapek will afflict them with %ansi(high,green)Aeon %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Aapek will afflict them with %ansi(yellow)Anorexia %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Aapek will afflict them with %ansi(red)Pox %ansi(grey)(%1)}}}}} {within|param=1}
#TRIGGER {Sun does (%x) Damage} {#if (!%pos( %lower( @astrTar-Sun), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Sun %1}}
#TRIGGER {Moon will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Moon), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Moon %1}}
#TRIGGER {Eroee will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Eroee), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Eroee %1}}
#TRIGGER {Sidiak will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Sidiak), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Sidiak %1}}
#TRIGGER {Tarox will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Tarox), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Tarox %1}}
#TRIGGER {Papaxi will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Papaxi), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Papaxi %1}}
#TRIGGER {Aapek will afflict them with (%x)} {#if (!%pos( %lower( @astrTar-Aapek), %lower( @nativityStore))) {#ADDKEY nativityStore @astrTar-Aapek %1}}
#TRIGGER {In a brilliant ray of light, the power of (%x) lashes down upon (%x).} {#if (@noEcho = 0) {#if (%pos( %lower( %2-%1), %lower( @nativityStore))) {#SHOW -------%2 is afflicted by %db( @nativityStore, %2-%1)-------} {#alarm +2 {nativity %2}}}{#var noEcho 0}}
#TRIGGER {You raise your arms to the sky and channel the energies of the} {#var noEcho 1}
#CLASS 0
Unknown2008-07-16 09:14:08
It's not recommended to use %1..%99 in trigger patterns, but they work because of backwards compatibility with older versions of zMUD. They're marked as captures by default, no need for the parentheses, but they are not well defined in what text they match.
Laysus2008-07-16 10:50:19
Here's my take on that code - I streamlined it a bit (even if it looks bigger).
I was gonna ask for stuff for this - but meh, as with any of my astrology scripts, if you use it and feel generous, throw something my way
I was gonna ask for stuff for this - but meh, as with any of my astrology scripts, if you use it and feel generous, throw something my way
CODE
#CLASS {attackAliases|Celestine|nativityFind}
#ALIAS testdb {#SHOW %db( @nativityStore, Acrune-Sun)}
#VAR nativityStore {}
#VAR astrTar {acrune}
#VAR noEcho {0} {0}
#var Astrology_Cardinal {Volcano|Dolphin|Burning Censer|Skull}
#var Astrology_Mutable {Twin Crystals|Crocodile|Dragon|Glacier
#var Astrology_Fixed {Antlers|Lion|Spider|Bumblebee}
#ONINPUT {^nativity (\\a+)$} {#var targetsnativity %1;#var astrTar %1} {regex}
#COND {^(He|She) is \\d+ years old, having been born on the} {#gag} {regex}
#COND {Coming of Estarra\\.} {#gag} {regex|within|param=1}
#COND {^On that date\\:$} {#sub {Astrology afflictions for @targetsnativity:}} {regex|within|param=1}
#COND {^Sun was in the sign of the (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier)\\.$} {#IF (%ismember(%1,"Volcano|Dragon")) {#Sub {Sun does %ansi(yellow)Fire %ansi(grey)Damage (%1)};#ADDKEY nativityStore @{astrTar}-Sun fire} {#IF (%1 = "Twin Crystals") {#Sub {Sun does %ansi(yellow)Psychic %ansi(grey)Damage (%1)};#ADDKEY nativityStore @{astrTar}-Sun Psychic} {#IF (%ismember(%1,"Antlers|Lion")) {#Sub {Sun does %ansi(yellow)Cutting %ansi(grey)Damage (%1)};#ADDKEY nativityStore @{astrTar}-Sun Cutting} {#IF (%ismember(%1,"Dolphin|Glacier")) {#Sub {Sun does %ansi(yellow)Cold %ansi(grey)Damage (%1)};#ADDKEY nativityStore @{astrTar}-Sun Cold} {#IF (%ismember(%1,"Crocodile|Burning Censer")) {#Sub {Sun does %ansi(yellow)Asphyxiation %ansi(grey)Damage (%1)};#ADDKEY nativityStore @{astrTar}-Sun Asphyxiation} {#IF (%ismember(%1,"Spider|Bumblebee")) {#Sub {Sun does %ansi(yellow)Poison %ansi(grey)Damage (%1)};#ADDKEY nativityStore @{astrTar}-Sun Poison} {#IF (%1 = "Skull") {#Sub {Sun does %ansi(yellow)Blunt %ansi(grey)Damage (%1)};#ADDKEY nativityStore @{astrTar}-Sun Blunt}}}}}}}} {regex|within|param=1}
#COND {^Moon was in the sign of the (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier)\\.$} {
#if (%ismember(%1, @Astrology_Cardinal)) {#sub {Moon will afflict them with %ansi(high,green)Hallucinate %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Moon Hallucinate}} {#if (%ismember(%1,@Astrology_Fixed)) {#sub {Moon will afflict them with %ansi(yellow)Dizziness %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Moon Dizziness} {#if (%ismember(%1,@Astrology_Mutable)) {#sub {Moon will afflict them with %ansi(red)Dementia %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Moon Dementia}}}} {regex|within|param=1}
#COND {^Eroee was in the sign of the (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier)(\\.| \\(retrograde\\)\\.)$} {#IF (%ismember(%1, @Astrology_Cardinal)) {#sub {Eroee will afflict them with %ansi(high,green)Sensitivity %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Eroee Sensitivity} {#IF (%ismember(%1,@Astrology_Fixed)) {#sub {Eroee will afflict them with %ansi(yellow)Peace %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Eroee Peace} {#IF (%ismember(%1,@Astrology_Mutable)) {#sub {Eroee will afflict them with %ansi(red)Love %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Eroee Love}}}} {within|param=1}
#COND {^Sidiak was in the sign of the (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier)(\\.| \\(retrograde\\)\\.)$} {#IF (%ismember(%1,@Astrology_Cardinal)) {#SUB {Sidiak will afflict them with %ansi(high,green)Stupidity %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Sidiak Stupidity} {#IF (%ismember(%1,@Astrology_Fixed)) {#SUB {Sidiak will afflict them with %ansi(red)Amnesia %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Sidiak Amnesia} {#IF (%ismember(%1,@Astrology_Mutable)) {#SUB {Sidiak will afflict them with %ansi(yellow)Confusion %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Sidiak Confusion}}}} {regex|within|param=1}
#COND {^Tarox was in the sign of the (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier)(\\.| \\(retrograde\\)\\.)$} {#IF (%ismember(%1,@Astrology_Cardinal)) {#SUB {Tarox will afflict them with %ansi(yellow)Recklessness %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Tarox Recklessness} {#IF (%ismember(%1,@Astrology_Fixed)) {#SUB {Tarox will afflict them with %ansi(high,green)Asthma %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Tarox Asthma} {#IF (%ismember(%1,@Astrology_Mutable)) {#SUB {Tarox will afflict them with %ansi(red)Freeze %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Tarox Freeze}}}} {regex|within|param=1}
#COND {^Papaxi was in the sign of the (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier)(\\.| \\(retrograde\\)\\.)$} {#IF (%ismember(%1,@Astrology_Cardinal)) {#SUB {Papaxi will afflict them with %ansi(red)Ego Reduction %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Papaxi {Ego Reduction}} {#IF (%ismember(%1,@Astrology_Fixed)) {#SUB {Papaxi will afflict them with %ansi(high,green)Health Reduction %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Papaxi {Health Reduction}} {#IF (%ismember(%1,@Astrology_Mutable)) {#SUB {Papaxi will afflict them with %ansi(yellow)Mana Reduction %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Papaxi {Mana Reduction}}}}} {regex|within|param=1}
#COND {^Aapek was in the sign of the (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier)(\\.| \\(retrograde\\)\\.)$} {#IF (%ismember(%1,@Astrology_Cardinal)) {#SUB {Aapek will afflict them with %ansi(high,green)Aeon %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Aapek Aeon} {#IF (%ismember(%1,@Astrology_Fixed)) {#SUB {Aapek will afflict them with %ansi(yellow)Anorexia %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Aapek Anorexia} {#IF (%ismember(%1,@Astrology_Mutable)) {#SUB {Aapek will afflict them with %ansi(red)Scabies %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Aapek Scabies}}}} {within|param=1}
#regex {^In a brilliant ray of light, the power of (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier) lashes down upon (\\a+)\\.$} {#if (@noEcho = 0) {#if (%pos( %lower( %2-%1), %lower( @nativityStore))) {#SHOW -------%2 is afflicted by %db( @nativityStore, %2-%1)-------} {#alarm +2 {nativity %2}}}{#var noEcho 0}}
#regex {^You raise your arms to the sky and channel the energies of the} {#var noEcho 1}
#CLASS 0
#ALIAS testdb {#SHOW %db( @nativityStore, Acrune-Sun)}
#VAR nativityStore {}
#VAR astrTar {acrune}
#VAR noEcho {0} {0}
#var Astrology_Cardinal {Volcano|Dolphin|Burning Censer|Skull}
#var Astrology_Mutable {Twin Crystals|Crocodile|Dragon|Glacier
#var Astrology_Fixed {Antlers|Lion|Spider|Bumblebee}
#ONINPUT {^nativity (\\a+)$} {#var targetsnativity %1;#var astrTar %1} {regex}
#COND {^(He|She) is \\d+ years old, having been born on the} {#gag} {regex}
#COND {Coming of Estarra\\.} {#gag} {regex|within|param=1}
#COND {^On that date\\:$} {#sub {Astrology afflictions for @targetsnativity:}} {regex|within|param=1}
#COND {^Sun was in the sign of the (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier)\\.$} {#IF (%ismember(%1,"Volcano|Dragon")) {#Sub {Sun does %ansi(yellow)Fire %ansi(grey)Damage (%1)};#ADDKEY nativityStore @{astrTar}-Sun fire} {#IF (%1 = "Twin Crystals") {#Sub {Sun does %ansi(yellow)Psychic %ansi(grey)Damage (%1)};#ADDKEY nativityStore @{astrTar}-Sun Psychic} {#IF (%ismember(%1,"Antlers|Lion")) {#Sub {Sun does %ansi(yellow)Cutting %ansi(grey)Damage (%1)};#ADDKEY nativityStore @{astrTar}-Sun Cutting} {#IF (%ismember(%1,"Dolphin|Glacier")) {#Sub {Sun does %ansi(yellow)Cold %ansi(grey)Damage (%1)};#ADDKEY nativityStore @{astrTar}-Sun Cold} {#IF (%ismember(%1,"Crocodile|Burning Censer")) {#Sub {Sun does %ansi(yellow)Asphyxiation %ansi(grey)Damage (%1)};#ADDKEY nativityStore @{astrTar}-Sun Asphyxiation} {#IF (%ismember(%1,"Spider|Bumblebee")) {#Sub {Sun does %ansi(yellow)Poison %ansi(grey)Damage (%1)};#ADDKEY nativityStore @{astrTar}-Sun Poison} {#IF (%1 = "Skull") {#Sub {Sun does %ansi(yellow)Blunt %ansi(grey)Damage (%1)};#ADDKEY nativityStore @{astrTar}-Sun Blunt}}}}}}}} {regex|within|param=1}
#COND {^Moon was in the sign of the (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier)\\.$} {
#if (%ismember(%1, @Astrology_Cardinal)) {#sub {Moon will afflict them with %ansi(high,green)Hallucinate %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Moon Hallucinate}} {#if (%ismember(%1,@Astrology_Fixed)) {#sub {Moon will afflict them with %ansi(yellow)Dizziness %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Moon Dizziness} {#if (%ismember(%1,@Astrology_Mutable)) {#sub {Moon will afflict them with %ansi(red)Dementia %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Moon Dementia}}}} {regex|within|param=1}
#COND {^Eroee was in the sign of the (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier)(\\.| \\(retrograde\\)\\.)$} {#IF (%ismember(%1, @Astrology_Cardinal)) {#sub {Eroee will afflict them with %ansi(high,green)Sensitivity %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Eroee Sensitivity} {#IF (%ismember(%1,@Astrology_Fixed)) {#sub {Eroee will afflict them with %ansi(yellow)Peace %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Eroee Peace} {#IF (%ismember(%1,@Astrology_Mutable)) {#sub {Eroee will afflict them with %ansi(red)Love %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Eroee Love}}}} {within|param=1}
#COND {^Sidiak was in the sign of the (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier)(\\.| \\(retrograde\\)\\.)$} {#IF (%ismember(%1,@Astrology_Cardinal)) {#SUB {Sidiak will afflict them with %ansi(high,green)Stupidity %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Sidiak Stupidity} {#IF (%ismember(%1,@Astrology_Fixed)) {#SUB {Sidiak will afflict them with %ansi(red)Amnesia %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Sidiak Amnesia} {#IF (%ismember(%1,@Astrology_Mutable)) {#SUB {Sidiak will afflict them with %ansi(yellow)Confusion %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Sidiak Confusion}}}} {regex|within|param=1}
#COND {^Tarox was in the sign of the (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier)(\\.| \\(retrograde\\)\\.)$} {#IF (%ismember(%1,@Astrology_Cardinal)) {#SUB {Tarox will afflict them with %ansi(yellow)Recklessness %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Tarox Recklessness} {#IF (%ismember(%1,@Astrology_Fixed)) {#SUB {Tarox will afflict them with %ansi(high,green)Asthma %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Tarox Asthma} {#IF (%ismember(%1,@Astrology_Mutable)) {#SUB {Tarox will afflict them with %ansi(red)Freeze %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Tarox Freeze}}}} {regex|within|param=1}
#COND {^Papaxi was in the sign of the (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier)(\\.| \\(retrograde\\)\\.)$} {#IF (%ismember(%1,@Astrology_Cardinal)) {#SUB {Papaxi will afflict them with %ansi(red)Ego Reduction %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Papaxi {Ego Reduction}} {#IF (%ismember(%1,@Astrology_Fixed)) {#SUB {Papaxi will afflict them with %ansi(high,green)Health Reduction %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Papaxi {Health Reduction}} {#IF (%ismember(%1,@Astrology_Mutable)) {#SUB {Papaxi will afflict them with %ansi(yellow)Mana Reduction %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Papaxi {Mana Reduction}}}}} {regex|within|param=1}
#COND {^Aapek was in the sign of the (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier)(\\.| \\(retrograde\\)\\.)$} {#IF (%ismember(%1,@Astrology_Cardinal)) {#SUB {Aapek will afflict them with %ansi(high,green)Aeon %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Aapek Aeon} {#IF (%ismember(%1,@Astrology_Fixed)) {#SUB {Aapek will afflict them with %ansi(yellow)Anorexia %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Aapek Anorexia} {#IF (%ismember(%1,@Astrology_Mutable)) {#SUB {Aapek will afflict them with %ansi(red)Scabies %ansi(grey)(%1)};#ADDKEY nativityStore @{astrTar}-Aapek Scabies}}}} {within|param=1}
#regex {^In a brilliant ray of light, the power of (Volcano|Antlers|Twin Crystals|Dolphin|Lion|Crocodile|Burning Censer|Spider|Dragon|Skull|Bumblebee|Glacier) lashes down upon (\\a+)\\.$} {#if (@noEcho = 0) {#if (%pos( %lower( %2-%1), %lower( @nativityStore))) {#SHOW -------%2 is afflicted by %db( @nativityStore, %2-%1)-------} {#alarm +2 {nativity %2}}}{#var noEcho 0}}
#regex {^You raise your arms to the sky and channel the energies of the} {#var noEcho 1}
#CLASS 0
Unknown2008-07-16 12:39:35
Ahh, I didn't do a regex conversion because I didn't know if (retrograde) was meant to be a capture or not. Fantastic.
Acrune2008-07-17 04:22:14
So, who can tell I never bothered to learn most of zmud's syntax? I blame someone else for the %1 thing though, since I modeled all my triggers for the astrology stuff off that...
I've heard of that problem before, forget who else had it... I wasn't able to find the problem, but I had long since quit Celestines, so I wasn't going to spend to much time on it. Out of curiosity, did you manage to fix it, or did you just replace it with someone else code?
I've heard of that problem before, forget who else had it... I wasn't able to find the problem, but I had long since quit Celestines, so I wasn't going to spend to much time on it. Out of curiosity, did you manage to fix it, or did you just replace it with someone else code?
Celina2008-07-20 22:24:15
Update!
I used Acrune's script, but replaced the nativity portion first with Eldritch Ex Machina's script, then Laysus's.
Eldritch's doesn't fix the problem. Twin crystals still appears as Aeon.
Laysus's doesn't do anything. I tried it twice to make sure I didn't edit something on accident, but the code does nothing when you do "Nativity."
I used Acrune's script, but replaced the nativity portion first with Eldritch Ex Machina's script, then Laysus's.
Eldritch's doesn't fix the problem. Twin crystals still appears as Aeon.
Laysus's doesn't do anything. I tried it twice to make sure I didn't edit something on accident, but the code does nothing when you do "Nativity
Anisu2008-07-21 08:45:30
QUOTE(Celina @ Jul 21 2008, 12:24 AM) 535870
Update!
I used Acrune's script, but replaced the nativity portion first with Eldritch Ex Machina's script, then Laysus's.
Eldritch's doesn't fix the problem. Twin crystals still appears as Aeon.
Laysus's doesn't do anything. I tried it twice to make sure I didn't edit something on accident, but the code does nothing when you do "Nativity."
I used Acrune's script, but replaced the nativity portion first with Eldritch Ex Machina's script, then Laysus's.
Eldritch's doesn't fix the problem. Twin crystals still appears as Aeon.
Laysus's doesn't do anything. I tried it twice to make sure I didn't edit something on accident, but the code does nothing when you do "Nativity
Meh I will give it a try to translate my cmud script into zmud, not sure about some functions like a switch and a status bar
CODE
#CLASS {Astrology|Nativity}
#ALIAS nativity {NativitySubject=%upper(%1);#T+ nativitytriggers;~nativity @NativitySubject}
#VAR NativityStorage {}
#VAR NativitySubject {}
#VAR nattemp {}
#VAR taraapek {}
#VAR tareroee {}
#VAR tarmoon {}
#VAR tarpapaxi {}
#VAR tarsidiak {}
#VAR tarsun {}
#VAR tartarox {}
#VAR tempaapek {}
#VAR temperoee {}
#VAR tempmoon {}
#VAR temppapaxi {}
#VAR tempsidiak {}
#VAR tempsun {}
#VAR temptarox {}
#CLASS {Astrology|Nativity|nativitytriggers}
#TRIGGER {^%dh,*} {#T- nativitytriggers;tempsun=%db(@nativitystorage, @nativitysubject-sun);tempmoon=%db(@nativitystorage, @nativitysubject-moon);temperoee=%db(@nativitystorage, @nativitysubject-eroee);tempsidiak=%db(@nativitystorage, @nativitysubject-sidiak);temptarox=%db(@nativitystorage, @nativitysubject-tarox);temppapaxi=%db(@nativitystorage, @nativitysubject-papaxi);tempaapek=%db(@nativitystorage, @nativitysubject-aapek);#say Sun will do: @tempsun;#say Moon will do: @tempmoon;#say Eroee will do: @temperoee;#say Sidiak will do: @tempsidiak;#say Tarox will do: @temptarox;#say Papaxi will do: @temppapaxi;#say Aapek will do: @tempaapek}
#TRIGGER {^%sAapek was in the sign of the (*).$} {nattemp=%1;nattemp=%replace(@nattemp," (retrograde)","");#IF (@nattemp="Volcano" OR @nattemp="Dolphin" OR @nattemp="Burning Censer" OR @nattemp="Skull") {#var %concat(NativityStorage.,@NativitySubject,-aapek) aeon};#IF (@nattemp1="Antlers" OR @nattemp="Lion" OR @nattemp="Spider" OR @nattemp="Bumblebee") {#var %concat(NativityStorage.,@NativitySubject,-aapek) anorexia};#IF (@nattemp1="Twin Crystals" OR @nattemp="Crocodile" OR @nattemp="Dragon" OR @nattemp="Glacier") {#var %concat(NativityStorage.,@NativitySubject,-aapek) scabies}}
#TRIGGER {^%sEroee was in the sign of the (*).$} {nattemp=%1;nattemp=%replace(@nattemp," (retrograde)","");#IF (@nattemp="Volcano" OR @nattemp="Dolphin" OR @nattemp="Burning Censer" OR @nattemp="Skull") {#var %concat(NativityStorage.,@NativitySubject,-eroee) sensitivity};#IF (@nattemp="Antlers" OR @nattemp="Lion" OR @nattemp="Spider" OR @nattemp="Bumblebee") {#var %concat(NativityStorage.,@NativitySubject,-eroee) peace};#IF (@nattemp="Twin Crystals" OR @nattemp="Crocodile" OR @nattemp="Dragon" OR @nattemp="Glacier") {#var %concat(NativityStorage.,@NativitySubject,-eroee) love}}
#TRIGGER {^%sMoon was in the sign of the (*).$} {nattemp=%1;nattemp=%replace(@nattemp," (retrograde)","");#IF (@nattemp="Volcano" OR @nattemp="Dolphin" OR @nattemp="Burning Censer" OR @nattemp="Skull") {#var %concat(NativityStorage.,@NativitySubject,-moon) hallucinate};#IF (@nattemp="Antlers" OR @nattemp="Lion" OR @nattemp="Spider" OR @nattemp="Bumblebee") {#var %concat(NativityStorage.,@NativitySubject,-moon) dizziness};#IF (@nattemp="Twin Crystals" OR @nattemp="Crocodile" OR @nattemp="Dragon" OR @nattemp="Glacier") {#var %concat(NativityStorage.,@NativitySubject,-moon) dementia}}
#TRIGGER {^%sPapaxi was in the sign of the (*).$} {nattemp=%1;nattemp=%replace(@nattemp," (retrograde)","");#IF (@nattemp="Volcano" OR @nattemp="Dolphin" OR @nattemp="Burning Censer" OR @nattemp="Skull") {#var %concat(NativityStorage.,@NativitySubject,-papaxi) egoreduc};#IF (@nattemp="Antlers" OR @nattemp="Lion" OR @nattemp="Spider" OR @nattemp="Bumblebee") {#var %concat(NativityStorage.,@NativitySubject,-papaxi) healthreduc};#IF (@nattemp="Twin Crystals" OR @nattemp="Crocodile" OR @nattemp="Dragon" OR @nattemp="Glacier") {#var %concat(NativityStorage.,@NativitySubject,-papaxi) manareduc}}
#TRIGGER {^%sSidiak was in the sign of the (*).$} {nattemp=%1;nattemp=%replace(@nattemp," (retrograde)","");#IF (@nattemp="Volcano" OR @nattemp="Dolphin" OR @nattemp="Burning Censer" OR @nattemp="Skull") {#var %concat(NativityStorage.,@NativitySubject,-sidiak) stupidity};#IF (@nattemp="Antlers" OR @nattemp="Lion" OR @nattemp="Spider" OR @nattemp="Bumblebee") {#var %concat(NativityStorage.,@NativitySubject,-sidiak) amnesia};#IF (@nattemp="Twin Crystals" OR @nattemp="Crocodile" OR @nattemp="Dragon" OR @nattemp="Glacier") {#var %concat(NativityStorage.,@NativitySubject,-sidiak) confusion}}
#TRIGGER {^%sTarox was in the sign of the (*).$} {nattemp=%1;nattemp=%replace(@nattemp," (retrograde)","");#IF (@nattemp="Volcano" OR @nattemp="Dolphin" OR @nattemp="Burning Censer" OR @nattemp="Skull") {#var %concat(NativityStorage.,@NativitySubject,-tarox) recklessness};#IF (@nattemp="Antlers" OR @nattemp="Lion" OR @nattemp="Spider" OR @nattemp="Bumblebee") {#var %concat(NativityStorage.,@NativitySubject,-tarox) asthma};#IF (@nattemp="Twin Crystals" OR @nattemp="Crocodile" OR @nattemp="Dragon" OR @nattemp="Glacier") {#var %concat(NativityStorage.,@NativitySubject,-tarox) freeze}}
#TRIGGER {^%sSun was in the sign of the (*).$} {nattemp=%1;nattemp=%replace(@nattemp," (retrograde)","");#SWITCH (@nattemp) ("Volcano") {#var %concat(NativityStorage.,@NativitySubject,-sun) firedmg}
                  ("Antlers") {#var %concat(NativityStorage.,@NativitySubject,-sun) cuttingdmg}
                  ("Twin Crystals") {#var %concat(NativityStorage.,@NativitySubject,-sun) psychicdmg}
                  ("Dolphin") {#var %concat(NativityStorage.,@NativitySubject,-sun) colddmg}
                  ("Lion") {#var %concat(NativityStorage.,@NativitySubject,-sun) cuttingdmg}
                  ("Crocodile") {#var %concat(NativityStorage.,@NativitySubject,-sun) asphyxdmg}
                  ("Burning Censer") {#var %concat(NativityStorage.,@NativitySubject,-sun) asphyxdmg}
                  ("Spider") {#var %concat(NativityStorage.,@NativitySubject,-sun) poisondmg}
                  ("Dragon") {#var %concat(NativityStorage.,@NativitySubject,-sun) firedmg}
                  ("Skull") {#var %concat(NativityStorage.,@NativitySubject,-sun) bluntdmg}
                  ("Bumblebee") {#var %concat(NativityStorage.,@NativitySubject,-sun) poisondmg}
                  ("Glacier") {#var %concat(NativityStorage.,@NativitySubject,-sun) colddmg}
                  {nothing matched}
}
Once again not sure how to translate a switch statement into text input for zmud.
(not sure what the statusbar line is but it has the following xml:
 ÂSun(C-F1): @tarsun  Moon(C-F2):@tarmoon Eroee(C-F3): @tareroee Sidiak(C-F4):@tarsidiak Tarox(C-F5):@tartarox Papaxi(C-F6): @tarpapaxi Aapek(C-F7):@taraapek
)
#CLASS 0
#CLASS 0
#ALIAS nativity {NativitySubject=%upper(%1);#T+ nativitytriggers;~nativity @NativitySubject}
#VAR NativityStorage {}
#VAR NativitySubject {}
#VAR nattemp {}
#VAR taraapek {}
#VAR tareroee {}
#VAR tarmoon {}
#VAR tarpapaxi {}
#VAR tarsidiak {}
#VAR tarsun {}
#VAR tartarox {}
#VAR tempaapek {}
#VAR temperoee {}
#VAR tempmoon {}
#VAR temppapaxi {}
#VAR tempsidiak {}
#VAR tempsun {}
#VAR temptarox {}
#CLASS {Astrology|Nativity|nativitytriggers}
#TRIGGER {^%dh,*} {#T- nativitytriggers;tempsun=%db(@nativitystorage, @nativitysubject-sun);tempmoon=%db(@nativitystorage, @nativitysubject-moon);temperoee=%db(@nativitystorage, @nativitysubject-eroee);tempsidiak=%db(@nativitystorage, @nativitysubject-sidiak);temptarox=%db(@nativitystorage, @nativitysubject-tarox);temppapaxi=%db(@nativitystorage, @nativitysubject-papaxi);tempaapek=%db(@nativitystorage, @nativitysubject-aapek);#say Sun will do: @tempsun;#say Moon will do: @tempmoon;#say Eroee will do: @temperoee;#say Sidiak will do: @tempsidiak;#say Tarox will do: @temptarox;#say Papaxi will do: @temppapaxi;#say Aapek will do: @tempaapek}
#TRIGGER {^%sAapek was in the sign of the (*).$} {nattemp=%1;nattemp=%replace(@nattemp," (retrograde)","");#IF (@nattemp="Volcano" OR @nattemp="Dolphin" OR @nattemp="Burning Censer" OR @nattemp="Skull") {#var %concat(NativityStorage.,@NativitySubject,-aapek) aeon};#IF (@nattemp1="Antlers" OR @nattemp="Lion" OR @nattemp="Spider" OR @nattemp="Bumblebee") {#var %concat(NativityStorage.,@NativitySubject,-aapek) anorexia};#IF (@nattemp1="Twin Crystals" OR @nattemp="Crocodile" OR @nattemp="Dragon" OR @nattemp="Glacier") {#var %concat(NativityStorage.,@NativitySubject,-aapek) scabies}}
#TRIGGER {^%sEroee was in the sign of the (*).$} {nattemp=%1;nattemp=%replace(@nattemp," (retrograde)","");#IF (@nattemp="Volcano" OR @nattemp="Dolphin" OR @nattemp="Burning Censer" OR @nattemp="Skull") {#var %concat(NativityStorage.,@NativitySubject,-eroee) sensitivity};#IF (@nattemp="Antlers" OR @nattemp="Lion" OR @nattemp="Spider" OR @nattemp="Bumblebee") {#var %concat(NativityStorage.,@NativitySubject,-eroee) peace};#IF (@nattemp="Twin Crystals" OR @nattemp="Crocodile" OR @nattemp="Dragon" OR @nattemp="Glacier") {#var %concat(NativityStorage.,@NativitySubject,-eroee) love}}
#TRIGGER {^%sMoon was in the sign of the (*).$} {nattemp=%1;nattemp=%replace(@nattemp," (retrograde)","");#IF (@nattemp="Volcano" OR @nattemp="Dolphin" OR @nattemp="Burning Censer" OR @nattemp="Skull") {#var %concat(NativityStorage.,@NativitySubject,-moon) hallucinate};#IF (@nattemp="Antlers" OR @nattemp="Lion" OR @nattemp="Spider" OR @nattemp="Bumblebee") {#var %concat(NativityStorage.,@NativitySubject,-moon) dizziness};#IF (@nattemp="Twin Crystals" OR @nattemp="Crocodile" OR @nattemp="Dragon" OR @nattemp="Glacier") {#var %concat(NativityStorage.,@NativitySubject,-moon) dementia}}
#TRIGGER {^%sPapaxi was in the sign of the (*).$} {nattemp=%1;nattemp=%replace(@nattemp," (retrograde)","");#IF (@nattemp="Volcano" OR @nattemp="Dolphin" OR @nattemp="Burning Censer" OR @nattemp="Skull") {#var %concat(NativityStorage.,@NativitySubject,-papaxi) egoreduc};#IF (@nattemp="Antlers" OR @nattemp="Lion" OR @nattemp="Spider" OR @nattemp="Bumblebee") {#var %concat(NativityStorage.,@NativitySubject,-papaxi) healthreduc};#IF (@nattemp="Twin Crystals" OR @nattemp="Crocodile" OR @nattemp="Dragon" OR @nattemp="Glacier") {#var %concat(NativityStorage.,@NativitySubject,-papaxi) manareduc}}
#TRIGGER {^%sSidiak was in the sign of the (*).$} {nattemp=%1;nattemp=%replace(@nattemp," (retrograde)","");#IF (@nattemp="Volcano" OR @nattemp="Dolphin" OR @nattemp="Burning Censer" OR @nattemp="Skull") {#var %concat(NativityStorage.,@NativitySubject,-sidiak) stupidity};#IF (@nattemp="Antlers" OR @nattemp="Lion" OR @nattemp="Spider" OR @nattemp="Bumblebee") {#var %concat(NativityStorage.,@NativitySubject,-sidiak) amnesia};#IF (@nattemp="Twin Crystals" OR @nattemp="Crocodile" OR @nattemp="Dragon" OR @nattemp="Glacier") {#var %concat(NativityStorage.,@NativitySubject,-sidiak) confusion}}
#TRIGGER {^%sTarox was in the sign of the (*).$} {nattemp=%1;nattemp=%replace(@nattemp," (retrograde)","");#IF (@nattemp="Volcano" OR @nattemp="Dolphin" OR @nattemp="Burning Censer" OR @nattemp="Skull") {#var %concat(NativityStorage.,@NativitySubject,-tarox) recklessness};#IF (@nattemp="Antlers" OR @nattemp="Lion" OR @nattemp="Spider" OR @nattemp="Bumblebee") {#var %concat(NativityStorage.,@NativitySubject,-tarox) asthma};#IF (@nattemp="Twin Crystals" OR @nattemp="Crocodile" OR @nattemp="Dragon" OR @nattemp="Glacier") {#var %concat(NativityStorage.,@NativitySubject,-tarox) freeze}}
#TRIGGER {^%sSun was in the sign of the (*).$} {nattemp=%1;nattemp=%replace(@nattemp," (retrograde)","");#SWITCH (@nattemp) ("Volcano") {#var %concat(NativityStorage.,@NativitySubject,-sun) firedmg}
                  ("Antlers") {#var %concat(NativityStorage.,@NativitySubject,-sun) cuttingdmg}
                  ("Twin Crystals") {#var %concat(NativityStorage.,@NativitySubject,-sun) psychicdmg}
                  ("Dolphin") {#var %concat(NativityStorage.,@NativitySubject,-sun) colddmg}
                  ("Lion") {#var %concat(NativityStorage.,@NativitySubject,-sun) cuttingdmg}
                  ("Crocodile") {#var %concat(NativityStorage.,@NativitySubject,-sun) asphyxdmg}
                  ("Burning Censer") {#var %concat(NativityStorage.,@NativitySubject,-sun) asphyxdmg}
                  ("Spider") {#var %concat(NativityStorage.,@NativitySubject,-sun) poisondmg}
                  ("Dragon") {#var %concat(NativityStorage.,@NativitySubject,-sun) firedmg}
                  ("Skull") {#var %concat(NativityStorage.,@NativitySubject,-sun) bluntdmg}
                  ("Bumblebee") {#var %concat(NativityStorage.,@NativitySubject,-sun) poisondmg}
                  ("Glacier") {#var %concat(NativityStorage.,@NativitySubject,-sun) colddmg}
                  {nothing matched}
}
Once again not sure how to translate a switch statement into text input for zmud.
(not sure what the statusbar line is but it has the following xml:
 Â
#CLASS 0
#CLASS 0
Laysus2008-07-21 21:06:22
QUOTE(Celina @ Jul 20 2008, 11:24 PM) 535870
Update!
I used Acrune's script, but replaced the nativity portion first with Eldritch Ex Machina's script, then Laysus's.
Eldritch's doesn't fix the problem. Twin crystals still appears as Aeon.
Laysus's doesn't do anything. I tried it twice to make sure I didn't edit something on accident, but the code does nothing when you do "Nativity."
I used Acrune's script, but replaced the nativity portion first with Eldritch Ex Machina's script, then Laysus's.
Eldritch's doesn't fix the problem. Twin crystals still appears as Aeon.
Laysus's doesn't do anything. I tried it twice to make sure I didn't edit something on accident, but the code does nothing when you do "Nativity
Who were you testing on? I just corrected a small error where the second line of the trigger had a ^ where it shouldn't (if you tested on your own nativity, you would've had that line start with "the Coming" rather than "Coming" as my code was set to work with - so the trigger would've failed). Just fixed that one.