Jumpy Jewelry (script)

From Elanthipedia
Revision as of 18:34, 22 April 2011 by ISHARON (talk | contribs) (→‎Script)
Jump to navigation Jump to search
Jumpy Jewelry (script)
Category travel
Front-end Genie
Author Isharon


Description

This script uses the ready-made Jumpy Jewelry to teleport you to a major destination. (Obviously, this only works if you are in Plat and own the required items.(

The menu tells you which moons are up and prompts you to select a destination. (The "yes/no" after each destination tells you whether the required moon is up.)

Once you arrive, the script automatically loads the appropriate Genie map.

Script

put #var save
pause

if $Time.isKatambaUp = 1 then setvariable katamba yes
if $Time.isXibarUp = 1 then setvariable xibar yes
if $Time.isYavashUp = 1 then setvariable yavash yes
if $Time.isKatambaUp = 0 then setvariable katamba no
if $Time.isXibarUp = 0 then setvariable xibar no
if $Time.isYavashUp = 0 then setvariable yavash no

echo
echo Katamba: %katamba
echo Xibar: %xibar
echo Yavash: %yavash
echo
echo DESTINATION
echo
echo 1. Crossing (%yavash)
echo 2. Leth Deriel (%yavash)
echo 3. Muspar'i (%katamba)
echo 4. Riverhaven (%xibar)
echo 5. Therenborough (%katamba)
echo 6. Shard (%katamba)
echo 7. Aesry Surlaenis'a (%yavash)
echo 8. Mer'Kresh (%katamba)
echo 9. Ratha (%xibar)
echo
echo Enter Destination Number

matchre Crossing ^1
matchre LethDeriel ^2
matchre Muspari ^3
matchre Riverhaven ^4
matchre Therenborough ^5
matchre Shard ^6
matchre AesrySurlaenisa ^7
matchre MerKresh ^8
matchre Ratha ^9
matchwait

Crossing:
send get my ruby stud
waitforre ^You get|^You are already|^But that
send wear my ruby stud
waitforre ^You hang|^You are already
send rub my ruby stud
waitforre ^You rub your
put #mapper load Map1_Crossing
if $stunned = 1 then waiteval $stunned = 0
send remove my ruby stud
waitforre ^You remove|^You aren't
send stow my ruby stud
waitforre ^You put|^Stow what
goto end

LethDeriel:
send get my sapphire ring
waitforre ^You get|^You are already|^But that
send wear my sapphire ring
waitforre ^You slide|^You are already
send rub my sapphire ring
waitforre ^You rub your
put #mapper load Map61_Leth_Deriel
if $stunned = 1 then waiteval $stunned = 0
send remove my sapphire ring
waitforre ^You slide|^You aren't
send stow my sapphire ring
waitforre ^You put|^Stow what
goto end

Muspari:
send get my ebonwood earcuff
waitforre ^You get|^You are already|^But that
send wear my ebonwood earcuff
waitforre ^You hang|^You are already
send rub my ebonwood earcuff
waitforre ^You rub your
put #mapper load Map47_Muspar'i
if $stunned = 1 then waiteval $stunned = 0
send remove my ebonwood earcuff
waitforre ^You remove|^You aren't
send stow my ebonwood earcuff
waitforre ^You put|^Stow what
goto end

Riverhaven:
send get my jade pendant
waitforre ^You get|^You are already|^But that
send wear my jade pendant
waitforre ^You hang|^You are already
send rub my jade pendant
waitforre ^You rub your
put #mapper load Map30_Riverhaven
if $stunned = 1 then waiteval $stunned = 0
send remove my jade pendant
waitforre ^You remove|^You aren't
send stow my jade pendant
waitforre ^You put|^Stow what
goto end

Therenborough:
send get my pearl ring
waitforre ^You get|^You are already|^But that
send wear my pearl ring
waitforre ^You slide|^You are already
send rub my pearl ring
waitforre ^You rub your
put #mapper load Map40_Langenfirth_to_Therenborough
if $stunned = 1 then waiteval $stunned = 0
send remove my pearl ring
waitforre ^You slide|^You aren't
send stow my pearl ring
waitforre ^You put|^Stow what
goto end

Shard:
send get my gold wristband
waitforre ^You get|^You are already|^But that
send wear my gold wristband
waitforre ^You attach|^You are already
send rub my gold wristband
waitforre ^You rub your
put #mapper load Map67_Shard
if $stunned = 1 then waiteval $stunned = 0
send remove my gold wristband
waitforre ^You remove|^You aren't
send stow my gold wristband
waitforre ^You put|^Stow what
goto end

AesrySurlaenisa:
send get my garnet ring
waitforre ^You get|^You are already|^But that
send wear my garnet ring
waitforre ^You slide|^You are already
send rub my garnet ring
waitforre ^You rub your
put #mapper load Map99_Aesry_Surlaenis'a
if $stunned = 1 then waiteval $stunned = 0
send remove my garnet ring
waitforre ^You slide|^You aren't
send stow my garnet ring
waitforre ^You put|^Stow what
goto end

MerKresh:
send get my alexandrite ring
waitforre ^You get|^You are already|^But that
send wear my alexandrite ring
waitforre ^You slide|^You are already
send rub my alexandrite ring
waitforre ^You rub your
put #mapper load Map107_Mer'Kresh
if $stunned = 1 then waiteval $stunned = 0
send remove my alexandrite ring
waitforre ^You slide|^You aren't
send stow my alexandrite ring
waitforre ^You put|^Stow what
goto end

Ratha:
send get my silver armband
waitforre ^You get|^You are already|^But that
send wear my silver armband
waitforre ^You attach|^You are already
send rub my silver armband
waitforre ^You rub your
put #mapper load Map67_Shard
if $stunned = 1 then waiteval $stunned = 0
send remove my silver armband
waitforre ^You remove|^You aren't
send stow my silver armband
waitforre ^You put|^Stow what
goto end

end:
send hum $hum
exit