Astral Travel (script): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 35: | Line 35: | ||
# - The script will choke if you haven't learned |
# - The script will choke if you haven't learned |
||
# the starting shard. Need a log of it to fix. |
# the starting shard. Need a log of it to fix. |
||
# EDITED by Uversy (5-20-2008) |
|||
# I had no way of contacting the original author of this script |
|||
# (that I could see) but this had to be fixed since it got me killed. |
|||
# The script does not notice when casting the moongate spell to get |
|||
# out of the Astral Plane fails. As such, you release your mana and |
|||
# then die. I've added a check when moongate is cast to see if it failed. |
|||
# If it does, then a the user pulls some more mana together and calls exitAP again. |
|||
# |
|||
# I also added the ability for the user to define just how much mana they harness |
|||
# when the script requires it. By setting the variable "mana" just below, the user |
|||
# is better set for their particular casting ability. The default is '15'. I did |
|||
# this because having only 30 mana harnessed while in the planes is a bit dicey for |
|||
# me. I personally set "mana" to '20'. |
|||
# |
|||
# FORESEE: contact me at breusshe@hotmail.com if you want to discuss the changes |
|||
# and I'm sorry I felt that I had to do them without consulting you first |
|||
# (even though I wanted to, just didn't know how). |
|||
setvariable stepsToAxis 0 |
setvariable stepsToAxis 0 |
||
setvariable stepsFromAxis 0 |
setvariable stepsFromAxis 0 |
||
setvariable mana 20 |
|||
if_1 goto setStart |
if_1 goto setStart |
||
goto error_noArguments |
goto error_noArguments |
||
setStart: |
setStart: |
||
match Dor'na'torna the silvery-white shard Dor'na'torna |
|||
match Dor'na'torna the silvery-white shard Dor'na'torna |
|||
match Undarverjah the silvery-white shard Undarverjah |
match Undarverjah the silvery-white shard Undarverjah |
||
match Tamigen [Cragstone Vale, Shrine of the Shell] |
match Tamigen [Cragstone Vale, Shrine of the Shell] |
||
match Rolagi the silvery-white shard Rolagi |
match Rolagi the silvery-white shard Rolagi |
||
match Marendin the silvery-white shard Marendin |
match Marendin the silvery-white shard Marendin |
||
match Emalerje the silvery-white shard Emalerje |
match Emalerje the silvery-white shard Emalerje |
||
match Asharshpar'i the silvery-white shard Asharshpar'i |
|||
match Asharshpar'i the silvery-white shard Asharshpar'i |
|||
match Dinegavren [Gealeranendae College, Tear of Grazhir Exhibit] |
match Dinegavren [Gealeranendae College, Tear of Grazhir Exhibit] |
||
match Mintais [Phelim's Sanctum, Tear of Grazhir] |
match Mintais [Phelim's Sanctum, Tear of Grazhir] |
||
match Taniendar the silvery-white shard Taniendar |
match Taniendar the silvery-white shard Taniendar |
||
match error_badStart Obvious exits: |
match error_badStart Obvious exits: |
||
match error_badStart Obvious paths: |
match error_badStart Obvious paths: |
||
put look |
put look |
||
matchwait |
matchwait |
||
Dor'na'torna: |
Dor'na'torna: |
||
setvariable Start Dor'na'torna |
setvariable Start Dor'na'torna |
||
goto setDestination |
goto setDestination |
||
Undarverjah: |
Undarverjah: |
||
setvariable Start Undarverjah |
setvariable Start Undarverjah |
||
goto setDestination |
goto setDestination |
||
Tamigen: |
Tamigen: |
||
setvariable Start Tamigen |
setvariable Start Tamigen |
||
goto setDestination |
goto setDestination |
||
Rolagi: |
Rolagi: |
||
setvariable Start Rolagi |
setvariable Start Rolagi |
||
goto setDestination |
goto setDestination |
||
Marendin: |
Marendin: |
||
setvariable Start Marendin |
setvariable Start Marendin |
||
goto setDestination |
goto setDestination |
||
Emalerje: |
Emalerje: |
||
setvariable Start Emalerje |
setvariable Start Emalerje |
||
goto setDestination |
goto setDestination |
||
Asharshpar'i: |
Asharshpar'i: |
||
setvariable Start Asharshpar'i |
setvariable Start Asharshpar'i |
||
goto setDestination |
goto setDestination |
||
Dinegavren: |
Dinegavren: |
||
setvariable Start Dinegavren |
setvariable Start Dinegavren |
||
goto setDestination |
goto setDestination |
||
Mintais: |
Mintais: |
||
setvariable Start Mintais |
setvariable Start Mintais |
||
goto setDestination |
goto setDestination |
||
Taniendar: |
Taniendar: |
||
setvariable Start Taniendar |
setvariable Start Taniendar |
||
goto setDestination |
goto setDestination |
||
# Valid destinations |
# Valid destinations |
||
setDestination: |
setDestination: |
||
goto setDestination_%1% |
goto setDestination_%1% |
||
setDestination_Rolagi: |
setDestination_Rolagi: |
||
setDestination_Crossing: |
setDestination_Crossing: |
||
setDestination_Xing: |
setDestination_Xing: |
||
setDestination_Kssarh: |
setDestination_Kssarh: |
||
setvariable Destination Rolagi |
setvariable Destination Rolagi |
||
setvariable Pillar Nightmares |
setvariable Pillar Nightmares |
||
goto prepMoongate |
goto prepMoongate |
||
setDestination_Dor'na'torna: |
setDestination_Dor'na'torna: |
||
setDestination_Dornatorna: |
setDestination_Dornatorna: |
||
setDestination_Hibarnhvidar: |
setDestination_Hibarnhvidar: |
||
setDestination_Hib: |
setDestination_Hib: |
||
setDestination_Cherulisa: |
setDestination_Cherulisa: |
||
setvariable Destination Dor'na'torna |
setvariable Destination Dor'na'torna |
||
setvariable Pillar Tradition |
setvariable Pillar Tradition |
||
goto prepMoongate |
goto prepMoongate |
||
setDestination_Tamigen: |
setDestination_Tamigen: |
||
setDestination_Raven'sPoint: |
setDestination_Raven'sPoint: |
||
setDestination_RavenPoint: |
setDestination_RavenPoint: |
||
setDestination_Raven: |
setDestination_Raven: |
||
setDestination_RP: |
setDestination_RP: |
||
setvariable Destination Tamigen |
setvariable Destination Tamigen |
||
setvariable Pillar Convergence |
setvariable Pillar Convergence |
||
goto prepMoongate |
goto prepMoongate |
||
setDestination_Asharshpar'i: |
setDestination_Asharshpar'i: |
||
setDestination_Asharshpari: |
setDestination_Asharshpari: |
||
setDestination_LethDeriel: |
setDestination_LethDeriel: |
||
setDestination_Leth: |
setDestination_Leth: |
||
setvariable Destination Asharshpar'i |
setvariable Destination Asharshpar'i |
||
setvariable Pillar Heavens |
setvariable Pillar Heavens |
||
goto prepMoongate |
goto prepMoongate |
||
setDestination_Emalerje: |
setDestination_Emalerje: |
||
setDestination_Volcano: |
setDestination_Volcano: |
||
setDestinatoin_LesserFist: |
setDestinatoin_LesserFist: |
||
setDestination_Fist: |
setDestination_Fist: |
||
setDestination_Tiv: |
setDestination_Tiv: |
||
setvariable Destination Emalerje |
setvariable Destination Emalerje |
||
setvariable Pillar Shrew |
setvariable Pillar Shrew |
||
goto prepMoongate |
goto prepMoongate |
||
setDestination_Taniendar: |
setDestination_Taniendar: |
||
setDestination_Riverhaven: |
setDestination_Riverhaven: |
||
setDestination_Haven: |
setDestination_Haven: |
||
setDestination_Gylwyn: |
setDestination_Gylwyn: |
||
setvariable Destination Taniendar |
setvariable Destination Taniendar |
||
setvariable Pillar Broken |
setvariable Pillar Broken |
||
goto prepMoongate |
goto prepMoongate |
||
setDestination_Dinegavren: |
setDestination_Dinegavren: |
||
setDestination_Therenborough: |
setDestination_Therenborough: |
||
setDestination_Theren: |
setDestination_Theren: |
||
setvariable Destination Dinegavren |
setvariable Destination Dinegavren |
||
setvariable Pillar Introspection |
setvariable Pillar Introspection |
||
goto prepMoongate |
goto prepMoongate |
||
setDestination_Mintais: |
setDestination_Mintais: |
||
setDestination_ThroneCity: |
setDestination_ThroneCity: |
||
setDestination_Throne: |
setDestination_Throne: |
||
setDestination_TC: |
setDestination_TC: |
||
setvariable Destination Mintais |
setvariable Destination Mintais |
||
setvariable Pillar Fortune |
setvariable Pillar Fortune |
||
goto prepMoongate |
goto prepMoongate |
||
setDestination_Marendin: |
setDestination_Marendin: |
||
setDestination_Shard: |
setDestination_Shard: |
||
setDestination_Ilithi: |
setDestination_Ilithi: |
||
setDestination_Mortom: |
setDestination_Mortom: |
||
setvariable Destination Marendin |
setvariable Destination Marendin |
||
setvariable Pillar Secrets |
setvariable Pillar Secrets |
||
goto prepMoongate |
goto prepMoongate |
||
setDestination_Undarverjah: |
setDestination_Undarverjah: |
||
setDestination_Taisgath: |
setDestination_Taisgath: |
||
setDestination_Ratha: |
setDestination_Ratha: |
||
setDestinatoin_Islands: |
setDestinatoin_Islands: |
||
setDestination_Lomtaun: |
setDestination_Lomtaun: |
||
setvariable Destination Undarverjah |
setvariable Destination Undarverjah |
||
setvariable Pillar Heavens |
setvariable Pillar Heavens |
||
goto prepMoongate |
goto prepMoongate |
||
prepMoongate: |
prepMoongate: |
||
put prep moongate |
put prep moongate |
||
goto focusShard |
goto focusShard |
||
focusShard: |
focusShard: |
||
put focus %Start% |
put focus %Start% |
||
waitfor You feel fully prepared |
waitfor You feel fully prepared |
||
goto harnessMana |
goto harnessMana |
||
harnessMana: |
harnessMana: |
||
match wait_harnessMana ...wait |
|||
match wait_harnessMana |
match wait_harnessMana ...wait |
||
match wait_harnessMana Sorry, you may only type |
|||
match harnessMana2 You tap into the mana |
match harnessMana2 You tap into the mana |
||
put harness 15 |
|||
put harness %mana% |
|||
matchwait |
matchwait |
||
harnessMana2: |
harnessMana2: |
||
match wait_harnessMana2 ...wait |
match wait_harnessMana2 ...wait |
||
match wait_harnessMana2 Sorry, you may only type |
match wait_harnessMana2 Sorry, you may only type |
||
match enterAP You tap into the mana |
|||
match enterAP You tap into the mana |
|||
put harness 15 |
|||
put harness %mana% |
|||
matchwait |
matchwait |
||
harnessMana3: |
|||
match wait_harnessMana3 ...wait |
|||
match wait_harnessMana3 Sorry, you may only type |
|||
match exitAP You tap into the mana |
|||
put harness %mana% |
|||
matchwait |
|||
enterAP: |
enterAP: |
||
match wait_enterAP ...wait |
|||
match wait_enterAP |
match wait_enterAP ...wait |
||
match wait_enterAP Sorry, you may only type |
|||
match toAxis You gesture. |
match toAxis You gesture. |
||
put cast %Start% |
put cast %Start% |
||
matchwait |
matchwait |
||
toAxis: |
toAxis: |
||
counter set %stepsToAxis% |
counter set %stepsToAxis% |
||
counter add 1 |
counter add 1 |
||
setvariable stepsToAxis %c% |
setvariable stepsToAxis %c% |
||
toAxis1: |
toAxis1: |
||
match wait_toAxis1 ...wait |
|||
match wait_toAxis1 |
match wait_toAxis1 ...wait |
||
match wait_toAxis1 Sorry, you may only type |
|||
match toAxis_N the microcosm is to the north. |
match toAxis_N the microcosm is to the north. |
||
match toAxis_NE the microcosm is to the northeast. |
match toAxis_NE the microcosm is to the northeast. |
||
match toAxis_E the microcosm is to the east. |
match toAxis_E the microcosm is to the east. |
||
match toAxis_SE the microcosm is to the southeast. |
match toAxis_SE the microcosm is to the southeast. |
||
match toAxis_S the microcosm is to the south. |
match toAxis_S the microcosm is to the south. |
||
match toAxis_SW the microcosm is to the southwest. |
match toAxis_SW the microcosm is to the southwest. |
||
match toAxis_W the microcosm is to the west. |
match toAxis_W the microcosm is to the west. |
||
match toAxis_NW the microcosm is to the northwest. |
match toAxis_NW the microcosm is to the northwest. |
||
match error_expanse You cannot sense even a single thread of Lunar energy |
match error_expanse You cannot sense even a single thread of Lunar energy |
||
match error_dead You are a ghost! |
|||
match error_dead You are a ghost! |
|||
put perceive |
put perceive |
||
matchwait |
matchwait |
||
toAxis_N: |
toAxis_N: |
||
match wait_toAxis_N ...wait |
|||
match wait_toAxis_N |
match wait_toAxis_N ...wait |
||
match wait_toAxis_N Sorry, you may only type |
|||
match toAxis Obvious exits: none. |
match toAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put north |
put north |
||
matchwait |
matchwait |
||
toAxis_NE: |
toAxis_NE: |
||
match wait_toAxis_NE ...wait |
match wait_toAxis_NE ...wait |
||
match wait_toAxis_NE Sorry, you may only type |
match wait_toAxis_NE Sorry, you may only type |
||
match toAxis Obvious exits: none. |
match toAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put northeast |
put northeast |
||
matchwait |
matchwait |
||
toAxis_E: |
toAxis_E: |
||
match wait_toAxis_E ...wait |
|||
match wait_toAxis_E |
match wait_toAxis_E ...wait |
||
match wait_toAxis_E Sorry, you may only type |
|||
match toAxis Obvious exits: none. |
match toAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put east |
put east |
||
matchwait |
matchwait |
||
toAxis_SE: |
toAxis_SE: |
||
match wait_toAxis_SE ...wait |
match wait_toAxis_SE ...wait |
||
match wait_toAxis_SE Sorry, you may only type |
match wait_toAxis_SE Sorry, you may only type |
||
match toAxis Obvious exits: none. |
match toAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put southeast |
put southeast |
||
matchwait |
matchwait |
||
toAxis_S: |
toAxis_S: |
||
match wait_toAxis_S ...wait |
|||
match wait_toAxis_S |
match wait_toAxis_S ...wait |
||
match wait_toAxis_S Sorry, you may only type |
|||
match toAxis Obvious exits: none. |
match toAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put south |
put south |
||
matchwait |
matchwait |
||
toAxis_SW: |
toAxis_SW: |
||
match wait_toAxis_SW ...wait |
match wait_toAxis_SW ...wait |
||
match wait_toAxis_SW Sorry, you may only type |
match wait_toAxis_SW Sorry, you may only type |
||
match toAxis Obvious exits: none. |
match toAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put southwest |
put southwest |
||
matchwait |
matchwait |
||
toAxis_W: |
toAxis_W: |
||
match wait_toAxis_W ...wait |
|||
match wait_toAxis_W |
match wait_toAxis_W ...wait |
||
match wait_toAxis_W Sorry, you may only type |
|||
match toAxis Obvious exits: none. |
match toAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put west |
put west |
||
matchwait |
matchwait |
||
toAxis_NW: |
toAxis_NW: |
||
match wait_toAxis_NW ...wait |
match wait_toAxis_NW ...wait |
||
match wait_toAxis_NW Sorry, you may only type |
match wait_toAxis_NW Sorry, you may only type |
||
match toAxis Obvious exits: none. |
match toAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put northwest |
put northwest |
||
matchwait |
matchwait |
||
atAxis: |
atAxis: |
||
move east |
move east |
||
move up |
move up |
||
goto Convergence_to_%Pillar% |
goto Convergence_to_%Pillar% |
||
Convergence_to_Convergence: |
Convergence_to_Convergence: |
||
goto exitAxis |
goto exitAxis |
||
Convergence_to_Nightmares: |
Convergence_to_Nightmares: |
||
move south |
move south |
||
goto exitAxis |
goto exitAxis |
||
Convergence_to_Tradition: |
Convergence_to_Tradition: |
||
move southeast |
move southeast |
||
goto exitAxis |
goto exitAxis |
||
Convergence_to_Secrets: |
Convergence_to_Secrets: |
||
move east |
move east |
||
goto exitAxis |
goto exitAxis |
||
Convergence_to_Unity: |
Convergence_to_Unity: |
||
move northeast |
move northeast |
||
goto exitAxis |
goto exitAxis |
||
Convergence_to_Shrew: |
Convergence_to_Shrew: |
||
move north |
move north |
||
goto exitAxis |
goto exitAxis |
||
Convergence_to_Heavens: |
Convergence_to_Heavens: |
||
move northwest |
move northwest |
||
goto exitAxis |
goto exitAxis |
||
Convergence_to_Introspection: |
Convergence_to_Introspection: |
||
move west |
move west |
||
goto exitAxis |
goto exitAxis |
||
Convergence_to_Fortune: |
Convergence_to_Fortune: |
||
move southwest |
move southwest |
||
goto exitAxis |
goto exitAxis |
||
Convergence_to_Broken: |
Convergence_to_Broken: |
||
move south |
move south |
||
move down |
move down |
||
goto exitAxis |
goto exitAxis |
||
exitAxis: |
exitAxis: |
||
put focus %Destination% |
put focus %Destination% |
||
goto fromAxis |
goto fromAxis |
||
fromAxis: |
fromAxis: |
||
counter set %stepsFromAxis% |
counter set %stepsFromAxis% |
||
counter add 1 |
counter add 1 |
||
setvariable stepsFromAxis %c% |
setvariable stepsFromAxis %c% |
||
fromAxis1: |
fromAxis1: |
||
match wait_fromAxis1 ...wait |
match wait_fromAxis1 ...wait |
||
match wait_fromAxis1 Sorry, you may only type |
match wait_fromAxis1 Sorry, you may only type |
||
match fromAxis_N the conduit lies north. |
|||
match |
match fromAxis_N the conduit lies north. |
||
match fromAxis_E the conduit lies east. |
|||
match |
match fromAxis_NE the conduit lies northeast. |
||
match fromAxis_S the conduit lies south. |
|||
match |
match fromAxis_E the conduit lies east. |
||
match fromAxis_W the conduit lies west. |
|||
match |
match fromAxis_SE the conduit lies southeast. |
||
match fromAxis_S the conduit lies south. |
|||
match fromAxis_SW the conduit lies southwest. |
|||
match fromAxis_W the conduit lies west. |
|||
match fromAxis_NW the conduit lies northwest. |
|||
match error_expanse You cannot sense even a single thread of Lunar energy |
match error_expanse You cannot sense even a single thread of Lunar energy |
||
match error_dead You are a ghost! |
|||
match error_dead You are a ghost! |
|||
put perceive |
put perceive |
||
matchwait |
matchwait |
||
fromAxis_N: |
fromAxis_N: |
||
match wait_fromAxis_N ...wait |
match wait_fromAxis_N ...wait |
||
match wait_fromAxis_N Sorry, you may only type |
match wait_fromAxis_N Sorry, you may only type |
||
match exitAP You also see the silvery-white shard |
match exitAP You also see the silvery-white shard |
||
match fromAxis Obvious exits: none. |
match fromAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put north |
put north |
||
matchwait |
matchwait |
||
fromAxis_NE: |
fromAxis_NE: |
||
match wait_fromAxis_NE ...wait |
match wait_fromAxis_NE ...wait |
||
match wait_fromAxis_NE Sorry, you may only type |
match wait_fromAxis_NE Sorry, you may only type |
||
match exitAP You also see the silvery-white shard |
match exitAP You also see the silvery-white shard |
||
match fromAxis Obvious exits: none. |
match fromAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put northeast |
put northeast |
||
matchwait |
matchwait |
||
fromAxis_E: |
fromAxis_E: |
||
match wait_fromAxis_E ...wait |
match wait_fromAxis_E ...wait |
||
match wait_fromAxis_E Sorry, you may only type |
match wait_fromAxis_E Sorry, you may only type |
||
match exitAP You also see the silvery-white shard |
match exitAP You also see the silvery-white shard |
||
match fromAxis Obvious exits: none. |
match fromAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put east |
put east |
||
matchwait |
matchwait |
||
fromAxis_SE: |
fromAxis_SE: |
||
match wait_fromAxis_SE ...wait |
match wait_fromAxis_SE ...wait |
||
match wait_fromAxis_SE Sorry, you may only type |
match wait_fromAxis_SE Sorry, you may only type |
||
match exitAP You also see the silvery-white shard |
match exitAP You also see the silvery-white shard |
||
match fromAxis Obvious exits: none. |
match fromAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put southeast |
put southeast |
||
matchwait |
matchwait |
||
fromAxis_S: |
fromAxis_S: |
||
match wait_fromAxis_S ...wait |
match wait_fromAxis_S ...wait |
||
match wait_fromAxis_S Sorry, you may only type |
match wait_fromAxis_S Sorry, you may only type |
||
match exitAP You also see the silvery-white shard |
match exitAP You also see the silvery-white shard |
||
match fromAxis Obvious exits: none. |
match fromAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put south |
put south |
||
matchwait |
matchwait |
||
fromAxis_SW: |
fromAxis_SW: |
||
match wait_fromAxis_SW ...wait |
match wait_fromAxis_SW ...wait |
||
match wait_fromAxis_SW Sorry, you may only type |
match wait_fromAxis_SW Sorry, you may only type |
||
match exitAP You also see the silvery-white shard |
match exitAP You also see the silvery-white shard |
||
match fromAxis Obvious exits: none. |
match fromAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put southwest |
put southwest |
||
matchwait |
matchwait |
||
fromAxis_W: |
fromAxis_W: |
||
match wait_fromAxis_W ...wait |
match wait_fromAxis_W ...wait |
||
match wait_fromAxis_W Sorry, you may only type |
match wait_fromAxis_W Sorry, you may only type |
||
match exitAP You also see the silvery-white shard |
match exitAP You also see the silvery-white shard |
||
match fromAxis Obvious exits: none. |
match fromAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put west |
put west |
||
matchwait |
matchwait |
||
fromAxis_NW: |
fromAxis_NW: |
||
match wait_fromAxis_NW ...wait |
match wait_fromAxis_NW ...wait |
||
match wait_fromAxis_NW Sorry, you may only type |
match wait_fromAxis_NW Sorry, you may only type |
||
match exitAP You also see the silvery-white shard |
match exitAP You also see the silvery-white shard |
||
match fromAxis Obvious exits: none. |
match fromAxis Obvious exits: none. |
||
match atAxis Obvious exits: north, |
match atAxis Obvious exits: north, |
||
match atAxis Obvious exits: east, |
match atAxis Obvious exits: east, |
||
put northwest |
put northwest |
||
matchwait |
matchwait |
||
exitAP: |
exitAP: |
||
put prep moongate |
put prep moongate |
||
put focus %Destination% |
put focus %Destination% |
||
waitfor You focus your magical senses |
waitfor You focus your magical senses |
||
goto exitAP_cast |
goto exitAP_cast |
||
exitAP_cast: |
exitAP_cast: |
||
match wait_exitAP_cast ...wait |
match wait_exitAP_cast ...wait |
||
match wait_exitAP_cast Sorry, you may only type |
match wait_exitAP_cast Sorry, you may only type |
||
match release You gesture. |
|||
match harnessMana3 The spell goes awry! |
|||
match release You are pulled through |
|||
# match release You gesture. |
|||
put cast %Destination% |
put cast %Destination% |
||
matchwait |
matchwait |
||
release: |
release: |
||
put release |
put release |
||
pause 1 |
pause 1 |
||
echo Statistics: %stepsToAxis% from %Start% to Axis |
echo Statistics: %stepsToAxis% from %Start% to Axis |
||
echo Statistics: %stepsFromAxis% from Axis to %Destination% |
echo Statistics: %stepsFromAxis% from Axis to %Destination% |
||
exit |
exit |
||
| Line 459: | Line 917: | ||
################################# |
################################# |
||
# Wait section |
# Wait section |
||
wait_harnessMana: |
wait_harnessMana: |
||
pause 1 |
pause 1 |
||
goto harnessMana |
goto harnessMana |
||
wait_harnessMana2: |
wait_harnessMana2: |
||
pause 1 |
pause 1 |
||
goto harnessMana2 |
goto harnessMana2 |
||
wait_harnessMana3: |
|||
pause 1 |
|||
goto harnessMana3 |
|||
wait_enterAP: |
wait_enterAP: |
||
pause 1 |
pause 1 |
||
goto enterAP |
goto enterAP |
||
wait_toAxis1: |
wait_toAxis1: |
||
pause 1 |
pause 1 |
||
goto toAxis1 |
goto toAxis1 |
||
wait_toAxis_N: |
wait_toAxis_N: |
||
pause 1 |
pause 1 |
||
goto toAxis_N |
goto toAxis_N |
||
wait_toAxis_NE: |
wait_toAxis_NE: |
||
pause 1 |
pause 1 |
||
goto toAxis_NE |
goto toAxis_NE |
||
wait_toAxis_E: |
wait_toAxis_E: |
||
pause 1 |
pause 1 |
||
goto toAxis_E |
goto toAxis_E |
||
wait_toAxis_SE: |
wait_toAxis_SE: |
||
pause 1 |
pause 1 |
||
goto toAxis_SE |
goto toAxis_SE |
||
wait_toAxis_S: |
wait_toAxis_S: |
||
pause 1 |
pause 1 |
||
goto toAxis_S |
goto toAxis_S |
||
wait_toAxis_SW: |
wait_toAxis_SW: |
||
pause 1 |
pause 1 |
||
goto toAxis_SW |
goto toAxis_SW |
||
wait_toAxis_W: |
wait_toAxis_W: |
||
pause 1 |
pause 1 |
||
goto toAxis_W |
goto toAxis_W |
||
wait_toAxis_NW: |
wait_toAxis_NW: |
||
pause 1 |
pause 1 |
||
goto toAxis_NW |
goto toAxis_NW |
||
wait_fromAxis1: |
wait_fromAxis1: |
||
pause 1 |
pause 1 |
||
goto fromAxis1 |
goto fromAxis1 |
||
wait_fromAxis_N: |
wait_fromAxis_N: |
||
pause 1 |
pause 1 |
||
goto fromAxis_N |
goto fromAxis_N |
||
wait_fromAxis_NE: |
wait_fromAxis_NE: |
||
pause 1 |
pause 1 |
||
goto fromAxis_NE |
goto fromAxis_NE |
||
wait_fromAxis_E: |
wait_fromAxis_E: |
||
pause 1 |
pause 1 |
||
goto fromAxis_E |
goto fromAxis_E |
||
wait_fromAxis_SE: |
wait_fromAxis_SE: |
||
pause 1 |
pause 1 |
||
goto fromAxis_SE |
goto fromAxis_SE |
||
wait_fromAxis_S: |
wait_fromAxis_S: |
||
pause 1 |
pause 1 |
||
goto fromAxis_S |
goto fromAxis_S |
||
wait_fromAxis_SW: |
wait_fromAxis_SW: |
||
pause 1 |
pause 1 |
||
goto fromAxis_SW |
goto fromAxis_SW |
||
wait_fromAxis_W: |
wait_fromAxis_W: |
||
pause 1 |
pause 1 |
||
goto fromAxis_W |
goto fromAxis_W |
||
wait_fromAxis_NW: |
wait_fromAxis_NW: |
||
pause 1 |
pause 1 |
||
goto fromAxis_NW |
goto fromAxis_NW |
||
wait_exitAP_cast: |
wait_exitAP_cast: |
||
pause 1 |
pause 1 |
||
goto exitAP_cast |
goto exitAP_cast |
||
##################################### |
##################################### |
||
# Errors |
# Errors |
||
error_NoArguments: |
error_NoArguments: |
||
echo |
echo |
||
echo ERROR: This script requires a name for your destination. |
echo ERROR: This script requires a name for your destination. |
||
echo Please see the starting text for a list. |
echo Please see the starting text for a list. |
||
echo Proper usage is ".ap destination" |
echo Proper usage is ".ap destination" |
||
echo |
echo |
||
exit |
exit |
||
error_badStart: |
error_badStart: |
||
echo |
echo |
||
echo ERROR: You are not at a known Grazhir shard |
echo ERROR: You are not at a known Grazhir shard |
||
echo and this script cannot be used for the 100th circle ability. |
echo and this script cannot be used for the 100th circle ability. |
||
echo |
echo |
||
exit |
exit |
||
error_expanse: |
error_expanse: |
||
echo |
echo |
||
echo *** Uh oh, you're trapped in the grey expanse. |
echo *** Uh oh, you're trapped in the grey expanse. |
||
echo *** You may get out, but it isn't likely. Good luck! |
echo *** You may get out, but it isn't likely. Good luck! |
||
echo |
echo |
||
echo Statistics: %stepsToAxis% from %Start% to Axis |
echo Statistics: %stepsToAxis% from %Start% to Axis |
||
echo Statistics: %stepsFromAxis% from Axis to %Destination% |
echo Statistics: %stepsFromAxis% from Axis to %Destination% |
||
exit |
exit |
||
error_dead: |
error_dead: |
||
echo |
echo |
||
echo *** Uh oh, you didn't survive this trip. |
echo *** Uh oh, you didn't survive this trip. |
||
echo *** I hope the empath likes extra crispy! |
echo *** I hope the empath likes extra crispy! |
||
echo |
echo |
||
echo Statistics: %stepsToAxis% from %Start% to Axis |
echo Statistics: %stepsToAxis% from %Start% to Axis |
||
echo Statistics: %stepsFromAxis% from Axis to %Destination% |
echo Statistics: %stepsFromAxis% from Axis to %Destination% |
||
exit |
exit |
||
labelError: |
labelError: |
||
echo |
echo |
||
echo ERROR: You did not type in a valid name for your destination. |
echo ERROR: You did not type in a valid name for your destination. |
||
echo Please see the starting text for a list. |
echo Please see the starting text for a list. |
||
echo If you did type in a listed destination or got this error |
echo If you did type in a listed destination or got this error |
||
echo while already moving, this this is a bug with the script's labels. |
echo while already moving, this this is a bug with the script's labels. |
||
echo |
echo |
||
exit |
exit |
||
Revision as of 14:44, 20 May 2008
This script automatically travels the astral plane for you.
Front end: Stormfront
Recommend name: ap
Usage: ".ap [destination]" while standing at a Grazhir shard. [destination] can be any name from the list you get when you run the script with no arguments.
debug off
echo
echo ==============================================
echo = Astral Travel script by Foresee
echo = Last edited: 2/19/08
echo =
echo = Valid Destination names:
echo = Dor'na'torna - Dornatorna - Hibarnhvidar - Hib - Cherulisa
echo = Undarverjah - Taisgath - Islands - Ratha - Lomtaun
echo = Tamigen - Raven'sPoint - RavenPoint - Raven - RP
echo = Rolagi - Crossing - Xing - Kssarh
echo = Marendin - Shard - Ilithi - Mortom
echo = Emalerje - Volcano - LesserFist - Fist - Tiv
echo = Asharshpar'i - Asharshpari - LethDeriel - Leth
echo = Dinegavren - Therenborough - Theren
echo = Mintais - ThroneCity - Throne - TC
echo = Taniendar - Riverhaven - Haven - Gylwyn
echo ==============================================
echo
# TODO: - This script will choke if you haven't learned
# the destination shard. Need a log of it to fix.
# - The script will choke if you haven't learned
# the starting shard. Need a log of it to fix.
# EDITED by Uversy (5-20-2008)
# I had no way of contacting the original author of this script
# (that I could see) but this had to be fixed since it got me killed.
# The script does not notice when casting the moongate spell to get
# out of the Astral Plane fails. As such, you release your mana and
# then die. I've added a check when moongate is cast to see if it failed.
# If it does, then a the user pulls some more mana together and calls exitAP again.
#
# I also added the ability for the user to define just how much mana they harness
# when the script requires it. By setting the variable "mana" just below, the user
# is better set for their particular casting ability. The default is '15'. I did
# this because having only 30 mana harnessed while in the planes is a bit dicey for
# me. I personally set "mana" to '20'.
#
# FORESEE: contact me at breusshe@hotmail.com if you want to discuss the changes
# and I'm sorry I felt that I had to do them without consulting you first
# (even though I wanted to, just didn't know how).
setvariable stepsToAxis 0
setvariable stepsFromAxis 0
setvariable mana 20
if_1 goto setStart
goto error_noArguments
setStart:
match Dor'na'torna the silvery-white shard Dor'na'torna
match Undarverjah the silvery-white shard Undarverjah
match Tamigen [Cragstone Vale, Shrine of the Shell]
match Rolagi the silvery-white shard Rolagi
match Marendin the silvery-white shard Marendin
match Emalerje the silvery-white shard Emalerje
match Asharshpar'i the silvery-white shard Asharshpar'i
match Dinegavren [Gealeranendae College, Tear of Grazhir Exhibit]
match Mintais [Phelim's Sanctum, Tear of Grazhir]
match Taniendar the silvery-white shard Taniendar
match error_badStart Obvious exits:
match error_badStart Obvious paths:
put look
matchwait
Dor'na'torna:
setvariable Start Dor'na'torna
goto setDestination
Undarverjah:
setvariable Start Undarverjah
goto setDestination
Tamigen:
setvariable Start Tamigen
goto setDestination
Rolagi:
setvariable Start Rolagi
goto setDestination
Marendin:
setvariable Start Marendin
goto setDestination
Emalerje:
setvariable Start Emalerje
goto setDestination
Asharshpar'i:
setvariable Start Asharshpar'i
goto setDestination
Dinegavren:
setvariable Start Dinegavren
goto setDestination
Mintais:
setvariable Start Mintais
goto setDestination
Taniendar:
setvariable Start Taniendar
goto setDestination
# Valid destinations
setDestination:
goto setDestination_%1%
setDestination_Rolagi:
setDestination_Crossing:
setDestination_Xing:
setDestination_Kssarh:
setvariable Destination Rolagi
setvariable Pillar Nightmares
goto prepMoongate
setDestination_Dor'na'torna:
setDestination_Dornatorna:
setDestination_Hibarnhvidar:
setDestination_Hib:
setDestination_Cherulisa:
setvariable Destination Dor'na'torna
setvariable Pillar Tradition
goto prepMoongate
setDestination_Tamigen:
setDestination_Raven'sPoint:
setDestination_RavenPoint:
setDestination_Raven:
setDestination_RP:
setvariable Destination Tamigen
setvariable Pillar Convergence
goto prepMoongate
setDestination_Asharshpar'i:
setDestination_Asharshpari:
setDestination_LethDeriel:
setDestination_Leth:
setvariable Destination Asharshpar'i
setvariable Pillar Heavens
goto prepMoongate
setDestination_Emalerje:
setDestination_Volcano:
setDestinatoin_LesserFist:
setDestination_Fist:
setDestination_Tiv:
setvariable Destination Emalerje
setvariable Pillar Shrew
goto prepMoongate
setDestination_Taniendar:
setDestination_Riverhaven:
setDestination_Haven:
setDestination_Gylwyn:
setvariable Destination Taniendar
setvariable Pillar Broken
goto prepMoongate
setDestination_Dinegavren:
setDestination_Therenborough:
setDestination_Theren:
setvariable Destination Dinegavren
setvariable Pillar Introspection
goto prepMoongate
setDestination_Mintais:
setDestination_ThroneCity:
setDestination_Throne:
setDestination_TC:
setvariable Destination Mintais
setvariable Pillar Fortune
goto prepMoongate
setDestination_Marendin:
setDestination_Shard:
setDestination_Ilithi:
setDestination_Mortom:
setvariable Destination Marendin
setvariable Pillar Secrets
goto prepMoongate
setDestination_Undarverjah:
setDestination_Taisgath:
setDestination_Ratha:
setDestinatoin_Islands:
setDestination_Lomtaun:
setvariable Destination Undarverjah
setvariable Pillar Heavens
goto prepMoongate
prepMoongate:
put prep moongate
goto focusShard
focusShard:
put focus %Start%
waitfor You feel fully prepared
goto harnessMana
harnessMana:
match wait_harnessMana ...wait
match wait_harnessMana Sorry, you may only type
match harnessMana2 You tap into the mana
put harness %mana%
matchwait
harnessMana2:
match wait_harnessMana2 ...wait
match wait_harnessMana2 Sorry, you may only type
match enterAP You tap into the mana
put harness %mana%
matchwait
harnessMana3:
match wait_harnessMana3 ...wait
match wait_harnessMana3 Sorry, you may only type
match exitAP You tap into the mana
put harness %mana%
matchwait
enterAP:
match wait_enterAP ...wait
match wait_enterAP Sorry, you may only type
match toAxis You gesture.
put cast %Start%
matchwait
toAxis:
counter set %stepsToAxis%
counter add 1
setvariable stepsToAxis %c%
toAxis1:
match wait_toAxis1 ...wait
match wait_toAxis1 Sorry, you may only type
match toAxis_N the microcosm is to the north.
match toAxis_NE the microcosm is to the northeast.
match toAxis_E the microcosm is to the east.
match toAxis_SE the microcosm is to the southeast.
match toAxis_S the microcosm is to the south.
match toAxis_SW the microcosm is to the southwest.
match toAxis_W the microcosm is to the west.
match toAxis_NW the microcosm is to the northwest.
match error_expanse You cannot sense even a single thread of Lunar energy
match error_dead You are a ghost!
put perceive
matchwait
toAxis_N:
match wait_toAxis_N ...wait
match wait_toAxis_N Sorry, you may only type
match toAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put north
matchwait
toAxis_NE:
match wait_toAxis_NE ...wait
match wait_toAxis_NE Sorry, you may only type
match toAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put northeast
matchwait
toAxis_E:
match wait_toAxis_E ...wait
match wait_toAxis_E Sorry, you may only type
match toAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put east
matchwait
toAxis_SE:
match wait_toAxis_SE ...wait
match wait_toAxis_SE Sorry, you may only type
match toAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put southeast
matchwait
toAxis_S:
match wait_toAxis_S ...wait
match wait_toAxis_S Sorry, you may only type
match toAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put south
matchwait
toAxis_SW:
match wait_toAxis_SW ...wait
match wait_toAxis_SW Sorry, you may only type
match toAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put southwest
matchwait
toAxis_W:
match wait_toAxis_W ...wait
match wait_toAxis_W Sorry, you may only type
match toAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put west
matchwait
toAxis_NW:
match wait_toAxis_NW ...wait
match wait_toAxis_NW Sorry, you may only type
match toAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put northwest
matchwait
atAxis:
move east
move up
goto Convergence_to_%Pillar%
Convergence_to_Convergence:
goto exitAxis
Convergence_to_Nightmares:
move south
goto exitAxis
Convergence_to_Tradition:
move southeast
goto exitAxis
Convergence_to_Secrets:
move east
goto exitAxis
Convergence_to_Unity:
move northeast
goto exitAxis
Convergence_to_Shrew:
move north
goto exitAxis
Convergence_to_Heavens:
move northwest
goto exitAxis
Convergence_to_Introspection:
move west
goto exitAxis
Convergence_to_Fortune:
move southwest
goto exitAxis
Convergence_to_Broken:
move south
move down
goto exitAxis
exitAxis:
put focus %Destination%
goto fromAxis
fromAxis:
counter set %stepsFromAxis%
counter add 1
setvariable stepsFromAxis %c%
fromAxis1:
match wait_fromAxis1 ...wait
match wait_fromAxis1 Sorry, you may only type
match fromAxis_N the conduit lies north.
match fromAxis_NE the conduit lies northeast.
match fromAxis_E the conduit lies east.
match fromAxis_SE the conduit lies southeast.
match fromAxis_S the conduit lies south.
match fromAxis_SW the conduit lies southwest.
match fromAxis_W the conduit lies west.
match fromAxis_NW the conduit lies northwest.
match error_expanse You cannot sense even a single thread of Lunar energy
match error_dead You are a ghost!
put perceive
matchwait
fromAxis_N:
match wait_fromAxis_N ...wait
match wait_fromAxis_N Sorry, you may only type
match exitAP You also see the silvery-white shard
match fromAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put north
matchwait
fromAxis_NE:
match wait_fromAxis_NE ...wait
match wait_fromAxis_NE Sorry, you may only type
match exitAP You also see the silvery-white shard
match fromAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put northeast
matchwait
fromAxis_E:
match wait_fromAxis_E ...wait
match wait_fromAxis_E Sorry, you may only type
match exitAP You also see the silvery-white shard
match fromAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put east
matchwait
fromAxis_SE:
match wait_fromAxis_SE ...wait
match wait_fromAxis_SE Sorry, you may only type
match exitAP You also see the silvery-white shard
match fromAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put southeast
matchwait
fromAxis_S:
match wait_fromAxis_S ...wait
match wait_fromAxis_S Sorry, you may only type
match exitAP You also see the silvery-white shard
match fromAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put south
matchwait
fromAxis_SW:
match wait_fromAxis_SW ...wait
match wait_fromAxis_SW Sorry, you may only type
match exitAP You also see the silvery-white shard
match fromAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put southwest
matchwait
fromAxis_W:
match wait_fromAxis_W ...wait
match wait_fromAxis_W Sorry, you may only type
match exitAP You also see the silvery-white shard
match fromAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put west
matchwait
fromAxis_NW:
match wait_fromAxis_NW ...wait
match wait_fromAxis_NW Sorry, you may only type
match exitAP You also see the silvery-white shard
match fromAxis Obvious exits: none.
match atAxis Obvious exits: north,
match atAxis Obvious exits: east,
put northwest
matchwait
exitAP:
put prep moongate
put focus %Destination%
waitfor You focus your magical senses
goto exitAP_cast
exitAP_cast:
match wait_exitAP_cast ...wait
match wait_exitAP_cast Sorry, you may only type
match harnessMana3 The spell goes awry!
match release You are pulled through
# match release You gesture.
put cast %Destination%
matchwait
release:
put release
pause 1
echo Statistics: %stepsToAxis% from %Start% to Axis
echo Statistics: %stepsFromAxis% from Axis to %Destination%
exit
#################################
# Wait section
wait_harnessMana:
pause 1
goto harnessMana
wait_harnessMana2:
pause 1
goto harnessMana2
wait_harnessMana3:
pause 1
goto harnessMana3
wait_enterAP:
pause 1
goto enterAP
wait_toAxis1:
pause 1
goto toAxis1
wait_toAxis_N:
pause 1
goto toAxis_N
wait_toAxis_NE:
pause 1
goto toAxis_NE
wait_toAxis_E:
pause 1
goto toAxis_E
wait_toAxis_SE:
pause 1
goto toAxis_SE
wait_toAxis_S:
pause 1
goto toAxis_S
wait_toAxis_SW:
pause 1
goto toAxis_SW
wait_toAxis_W:
pause 1
goto toAxis_W
wait_toAxis_NW:
pause 1
goto toAxis_NW
wait_fromAxis1:
pause 1
goto fromAxis1
wait_fromAxis_N:
pause 1
goto fromAxis_N
wait_fromAxis_NE:
pause 1
goto fromAxis_NE
wait_fromAxis_E:
pause 1
goto fromAxis_E
wait_fromAxis_SE:
pause 1
goto fromAxis_SE
wait_fromAxis_S:
pause 1
goto fromAxis_S
wait_fromAxis_SW:
pause 1
goto fromAxis_SW
wait_fromAxis_W:
pause 1
goto fromAxis_W
wait_fromAxis_NW:
pause 1
goto fromAxis_NW
wait_exitAP_cast:
pause 1
goto exitAP_cast
#####################################
# Errors
error_NoArguments:
echo
echo ERROR: This script requires a name for your destination.
echo Please see the starting text for a list.
echo Proper usage is ".ap destination"
echo
exit
error_badStart:
echo
echo ERROR: You are not at a known Grazhir shard
echo and this script cannot be used for the 100th circle ability.
echo
exit
error_expanse:
echo
echo *** Uh oh, you're trapped in the grey expanse.
echo *** You may get out, but it isn't likely. Good luck!
echo
echo Statistics: %stepsToAxis% from %Start% to Axis
echo Statistics: %stepsFromAxis% from Axis to %Destination%
exit
error_dead:
echo
echo *** Uh oh, you didn't survive this trip.
echo *** I hope the empath likes extra crispy!
echo
echo Statistics: %stepsToAxis% from %Start% to Axis
echo Statistics: %stepsFromAxis% from Axis to %Destination%
exit
labelError:
echo
echo ERROR: You did not type in a valid name for your destination.
echo Please see the starting text for a list.
echo If you did type in a listed destination or got this error
echo while already moving, this this is a bug with the script's labels.
echo
exit