PDA

View Full Version : Wiz/Lich GY Cobra hunting script?



wildefire
07-01-2007, 10:52 PM
Edited to attach my now working version of a GY cobra hunting script. Only thing not working properly is using a dagger/knife to skin, it just uses your main weapon. Anybody have a snippet that would work in place of what I have?

Thanks



# Cobra hunter

goto checkexp

start:
pause 1
match filter a cobra
match gohunt [Graveyard, Crypt]
match lost Graveyard
match lost Slither Creek
put look
matchwait

lost:
pause .5
match starthunt [Graveyard, Natural Dam]
match gohunt [Graveyard, Crypt]
match move1 A shallow puddle
match move2 The fine, white sand
match move3 The creek bed tapers off
match move4 Tall evergreens line the slope
match move5 marshy creek
match move6 Strange thin tracks
match move7 The nest of a marsh
match move8 A breeze moves through
match move9 The soft soil
match move14 bushes covered with berries
match move15 ground seems more damp
match move16 filled with gnats.
match move17 The ground here is quite sodden
match move18 creek empties into a small
put look
matchwait

checkexp:
match torest Your mind can't take much more
match start Your mind is numbed
match start Your mind is becoming numbed
match start Your mind is muddled
match start Your mind is clear
match start Your mind is fresh and clear
match start Your mind is as clear as a bell
put exp
matchwait

rcheckexp:
match torest Your mind can't take much more
match torest Your mind is numbed
match torest Your mind is becoming numbed
match start Your mind is muddled
match start Your mind is clear
match start Your mind is fresh and clear
match start Your mind is as clear as a bell
put exp
matchwait

torest:
match pause [Graveyard, Crypt]
match tocrypt [Graveyard, Natural Dam]
put look
matchwait

pause:
pause 60
goto rcheckexp

tocrypt:
move go bank
move s
move e
move e
move ne
move se
move se
move e
move s
move sw
move go trail
move se
move s
move s
move sw
put sheath
put stow shield
move go crypt
goto pause

gohunt:
move out
put gird
move ne
move n
move n
move nw
move go trail
move ne
move n
move w
move nw
move nw
move sw
move w
move w
move n
move go dam
goto starthunt

starthunt:
pause .5
put d
counter set 1
goto checkroom

move1:
pause .5
put ne
counter set 2
goto checkroom

move2:
pause .5
put ne
counter set 3
goto checkroom

move3:
pause .5
put nw
counter set 4
goto checkroom

move4:
pause .5
put nw
counter set 5
goto checkroom

move5:
pause .5
put e
counter set 6
goto checkroom

move6:
pause .5
put e
counter set 7
goto checkroom

move7:
pause .5
put ne
counter set 8
goto checkroom

move8:
pause .5
put ne
counter set 9
goto checkroom

move9:
pause .5
put sw
counter set 10
goto checkroom

move10:
pause .5
put sw
counter set 11
goto checkroom

move11:
pause .5
put w
counter set 12
goto checkroom

move12:
pause .5
put w
counter set 13
goto checkroom

move13:
pause .5
put w
counter set 14
goto checkroom

move14:
pause .5
put w
counter set 15
goto checkroom

move15:
pause .5
put w
counter set 16
goto checkroom

move16:
pause .5
put w
counter set 17
goto checkroom

move17:
pause .5
put sw
counter set 18
goto checkroom

move18:
pause .5
put ne
counter set 19
goto checkroom

move19:
pause .5
put e
counter set 20
goto checkroom

move20:
pause .5
put e
counter set 21
goto checkroom

move21:
pause .5
put e
counter set 22
goto checkroom

move22:
pause .5
put e
counter set 23
goto checkroom

move23:
pause .5
put se
counter set 24
goto checkroom

move24:
pause .5
put se
counter set 25
goto checkroom

move25:
pause .5
put sw
counter set 26
goto checkroom

move26:
pause .5
put sw
counter set 27
goto checkroom

move27:
pause .5
put u
goto checkexp

checkroom:
match start Sorry, you may only type
match move%c You can't go there
match move%c I could not find what
match filter a cobra
match move%c Obvious paths
matchwait

filter:
put look
match start You can't go there
match move%c Also here:
match attack Obvious paths
matchwait

attack:
put attack cobra
match dead sliced neatly in two
match dead hisses one last time
match dead already dead.
match attack only type ahead
match attack Please Wait
match attack Roundtime:
match pauseatt Please wait
match pauseatt ...wait
match move%c you referring to
match move%c You currently have no valid target
matchwait

pauseatt:
pause 1
goto attack

dead:
put skin cobra
match pauseatt ...wait
match skinned You skinned
match attack You might want
match continue You botched
match continue You can only skin creatures
match continue been skinned
matchwait

continue:
put search cobra
waitfor You search
put look
goto checkroom

skinned:
put sheath
waitfor You put
put get skin
put put my skin in my backpack
waitfor You put
put ready weapon
waitfor You remove
put search cobra
waitfor You search
put look
goto checkroom

billybob
01-18-2008, 01:54 PM
Hi, thanks for posting this script! You can skin with a knife by changing the functions below.

This uses STOW and GIRD verbs, which need defaults set before they will work.



dead:
put stow all
waitfor You put
get knife from my backpack
waitfor You remove
skin cobra
match pauseatt ...wait
match skinned You skinned
match attack You might want
match continue You botched
match continue You can only skin creatures
match continue been skinned
matchwait

continue:
put gird
put search cobra
waitfor You search
put look
goto checkroom

skinned:
put get skin
waitfor You pick up
put put my skin in my backpack
waitfor You put
put gird
put search cobra
waitfor You search
put look
goto checkroom