SoupyPoopy
12-30-2008, 03:00 PM
So Ive been pulling bits of pieces of other scripts trying to get one to work for something other then a rat script for starting out. It does just fine until I kill something and loot it. After it loots it looks and tries to kill. After that it just sits. If someone could take a look and let me know what im doing wrong or need to fix that would be great!
start:
put look
match resting [Mossy Caverns, Shrine]
match begin [Mossy Caverns
matchwait
begin:
put w
counter set 1
goto checkroom
move1:
pause 1
put w
counter set 2
goto checkroom
move2:
pause 1
put nw
counter set 3
goto checkroom
move3:
pause 1
put n
counter set 4
goto checkroom
move4:
pause 1
put n
counter set 5
goto checkroom
move5:
pause 1
put n
counter set 6
goto checkroom
move6:
pause 1
put ne
counter set 7
goto checkroom
move7:
pause 1
put ne
counter set 8
goto checkroom
move8:
pause 1
put ne
counter set 9
goto checkroom
move9:
pause 1
put ne
counter set 10
goto checkroom
move10:
pause 1
put se
counter set 11
goto checkroom
move11:
pause 1
put se
counter set 12
goto checkroom
move12:
pause 1
put se
counter set 13
goto checkroom
move13:
pause 1
put se
counter set 14
goto checkroom
move14:
pause 1
put s
counter set 15
goto checkroom
move15:
pause 1
put s
counter set 16
goto checkroom
move16:
pause 1
put s
counter set 17
goto checkroom
move17:
pause 1
put sw
counter set 18
goto checkroom
move18:
pause 1
put w
goto checkexp
checkroom:
match move%c% You can't go there
match move%c% I could not find what
match filter a dark vysan
match move%c% Obvious paths
match move%c% Obvious exits
match logoff ...wait
match logoff dead
match logoff ghost
match logoff [The Cell
match logoff [Consultation
match logoff [Scripting
matchwait
filter:
put look
match move%c% Also here:
match attack Obvious paths
match attack Obvious exits
matchwait
attack:
put kill
match logoff You are a
match move%c% You wave to a
match move%c% Surely you
match dead ground motionless.
match dead one last time and goes still.
match omgwait Roundtime
match waitsec Wait
match waitsec ...wait
match logoff stunned.
matchwait
omgwait:
pause 1
goto attack
dead:
goto continue
continue:
pause 2
put search vysan
match stow1 diopside
match stow2 cordierite
match stow3 ring
match stow4 statue
match stow5 crystal
match stow6 quartz
match stow7 lapis
match stow8 amethyst
match stow9 sapphire
match stow0 gem
match stow11 coral
match stow22 stone
match stow33 jade
match stow44 ivory
match stow55 pearl
match stow66 ruby
match stow77 spinel
match stow88 opal
match stow99 wand
match stow00 nugget
match stow111 diamond
match stow222 jasper
match stow333 emerald
match stow444 topaz
match stow555 zircon
match stow666 garnet
match stow777 tourmaline
match stow888 amber
match stow999 scroll
match stow000 paper
match stow1111 papyrus
match stow2222 vellum
match filter cold mist of evaporating ice.
matchwait
checkexp:
put exp
match gohome Your mind can't take much more
match checkstart Your mind is numbed
match checkstart Your mind is becoming numbed
match checkstart Your mind is muddled
match checkstart Your mind is clear
match checkstart Your mind is fresh and clear
match checkstart Your mind is as clear as a bell
matchwait
checkstart:
match begin I could not find
match delay You don't
matchwait
logoff:
put quit
waitsec:
pause 4
goto attack
stow1:
put get diopside
put stow diopside
goto filter
stow2:
put get cordierite
put stow cordierite
goto filter
stow3:
put get ring
put stow ring
goto filter
stow4:
put get statue
put stow statue
goto filter
stow5:
put get crystal
put stow crystal
goto filter
stow6:
put get quartz
put stow quartz
goto filter
stow7:
put get lapis
put stow lapis
goto filter
stow8:
put get amethyst
put stow amethyst
goto filter
stow9:
put get sapphire
put stow sapphire
goto filter
stow0:
put get gem
put stow gem
goto filter
stow11:
put get coral
put stow coral
goto filter
stow22:
put get stone
put stow stone
goto filter
stow33:
put get jade
put stow jade
goto filter
stow44:
put get ivory
put stow ivory
goto filter
stow55:
put get pearl
put stow pearl
goto filter
stow66:
put get ruby
put stow ruby
goto filter
stow77:
put get spinel
put stow spinel
goto filter
stow88:
put get opal
put stow opal
goto filter
stow99:
put get wand
put stow wand
goto filter
stow00:
put get nugget
put stow nugget
goto filter
stow111:
put get diamond
put stow diamond
goto filter
stow222:
put get jasper
put stow jasper
goto filter
stow333:
put get emerald
put stow emerald
goto filter
stow444:
put get topaz
put stow topaz
goto filter
stow555:
put get zircon
put stow zircon
goto filter
stow666:
put get garnet
put stow garnet
goto filter
stow777:
put get tourmaline
put stow tourmaline
goto filter
stow888:
put get amber
put stow amber
goto filter
stow999:
put get scroll
put stow scroll
goto filter
stow000:
put get paper
put stow paper
goto filter
stow1111:
put get papyrus
put stow papyrus
goto filter
stow2222:
put get vellum
put stow vellum
goto filter
gohunt:
move go bridge
goto begin
gohome:
move go bridge
goto resting
delay:
pause 120
goto checkstart
resting:
put exp
match notyet Your mind can't take much more
match notyet Your mind is numbed
match notyet Your mind is becoming numbed
match gohunt Your mind is muddled
match gohunt Your mind is clear
match gohunt Your mind is fresh and clear
match gohunt Your mind is as clear as a bell
matchwait
notyet:
pause 120
goto resting
start:
put look
match resting [Mossy Caverns, Shrine]
match begin [Mossy Caverns
matchwait
begin:
put w
counter set 1
goto checkroom
move1:
pause 1
put w
counter set 2
goto checkroom
move2:
pause 1
put nw
counter set 3
goto checkroom
move3:
pause 1
put n
counter set 4
goto checkroom
move4:
pause 1
put n
counter set 5
goto checkroom
move5:
pause 1
put n
counter set 6
goto checkroom
move6:
pause 1
put ne
counter set 7
goto checkroom
move7:
pause 1
put ne
counter set 8
goto checkroom
move8:
pause 1
put ne
counter set 9
goto checkroom
move9:
pause 1
put ne
counter set 10
goto checkroom
move10:
pause 1
put se
counter set 11
goto checkroom
move11:
pause 1
put se
counter set 12
goto checkroom
move12:
pause 1
put se
counter set 13
goto checkroom
move13:
pause 1
put se
counter set 14
goto checkroom
move14:
pause 1
put s
counter set 15
goto checkroom
move15:
pause 1
put s
counter set 16
goto checkroom
move16:
pause 1
put s
counter set 17
goto checkroom
move17:
pause 1
put sw
counter set 18
goto checkroom
move18:
pause 1
put w
goto checkexp
checkroom:
match move%c% You can't go there
match move%c% I could not find what
match filter a dark vysan
match move%c% Obvious paths
match move%c% Obvious exits
match logoff ...wait
match logoff dead
match logoff ghost
match logoff [The Cell
match logoff [Consultation
match logoff [Scripting
matchwait
filter:
put look
match move%c% Also here:
match attack Obvious paths
match attack Obvious exits
matchwait
attack:
put kill
match logoff You are a
match move%c% You wave to a
match move%c% Surely you
match dead ground motionless.
match dead one last time and goes still.
match omgwait Roundtime
match waitsec Wait
match waitsec ...wait
match logoff stunned.
matchwait
omgwait:
pause 1
goto attack
dead:
goto continue
continue:
pause 2
put search vysan
match stow1 diopside
match stow2 cordierite
match stow3 ring
match stow4 statue
match stow5 crystal
match stow6 quartz
match stow7 lapis
match stow8 amethyst
match stow9 sapphire
match stow0 gem
match stow11 coral
match stow22 stone
match stow33 jade
match stow44 ivory
match stow55 pearl
match stow66 ruby
match stow77 spinel
match stow88 opal
match stow99 wand
match stow00 nugget
match stow111 diamond
match stow222 jasper
match stow333 emerald
match stow444 topaz
match stow555 zircon
match stow666 garnet
match stow777 tourmaline
match stow888 amber
match stow999 scroll
match stow000 paper
match stow1111 papyrus
match stow2222 vellum
match filter cold mist of evaporating ice.
matchwait
checkexp:
put exp
match gohome Your mind can't take much more
match checkstart Your mind is numbed
match checkstart Your mind is becoming numbed
match checkstart Your mind is muddled
match checkstart Your mind is clear
match checkstart Your mind is fresh and clear
match checkstart Your mind is as clear as a bell
matchwait
checkstart:
match begin I could not find
match delay You don't
matchwait
logoff:
put quit
waitsec:
pause 4
goto attack
stow1:
put get diopside
put stow diopside
goto filter
stow2:
put get cordierite
put stow cordierite
goto filter
stow3:
put get ring
put stow ring
goto filter
stow4:
put get statue
put stow statue
goto filter
stow5:
put get crystal
put stow crystal
goto filter
stow6:
put get quartz
put stow quartz
goto filter
stow7:
put get lapis
put stow lapis
goto filter
stow8:
put get amethyst
put stow amethyst
goto filter
stow9:
put get sapphire
put stow sapphire
goto filter
stow0:
put get gem
put stow gem
goto filter
stow11:
put get coral
put stow coral
goto filter
stow22:
put get stone
put stow stone
goto filter
stow33:
put get jade
put stow jade
goto filter
stow44:
put get ivory
put stow ivory
goto filter
stow55:
put get pearl
put stow pearl
goto filter
stow66:
put get ruby
put stow ruby
goto filter
stow77:
put get spinel
put stow spinel
goto filter
stow88:
put get opal
put stow opal
goto filter
stow99:
put get wand
put stow wand
goto filter
stow00:
put get nugget
put stow nugget
goto filter
stow111:
put get diamond
put stow diamond
goto filter
stow222:
put get jasper
put stow jasper
goto filter
stow333:
put get emerald
put stow emerald
goto filter
stow444:
put get topaz
put stow topaz
goto filter
stow555:
put get zircon
put stow zircon
goto filter
stow666:
put get garnet
put stow garnet
goto filter
stow777:
put get tourmaline
put stow tourmaline
goto filter
stow888:
put get amber
put stow amber
goto filter
stow999:
put get scroll
put stow scroll
goto filter
stow000:
put get paper
put stow paper
goto filter
stow1111:
put get papyrus
put stow papyrus
goto filter
stow2222:
put get vellum
put stow vellum
goto filter
gohunt:
move go bridge
goto begin
gohome:
move go bridge
goto resting
delay:
pause 120
goto checkstart
resting:
put exp
match notyet Your mind can't take much more
match notyet Your mind is numbed
match notyet Your mind is becoming numbed
match gohunt Your mind is muddled
match gohunt Your mind is clear
match gohunt Your mind is fresh and clear
match gohunt Your mind is as clear as a bell
matchwait
notyet:
pause 120
goto resting