The Players Corner Archive

Script-- Landing -- Sewers -- Nexhunt

nexhunt, hunts in the sewers under the cats, start at the nexus.
will run continous with bakleldem's messenger.

will rest at the rats nest (non node)

easily configured to rest someplace else, not easily edited to hunt anyplace else.

If you need to restart at the nexus for any reason, run .reset

#reset.cmd
save null
counter set 0

#nexhunt.Cmd

echo saved direction %s
echo counted searches %c


goto check%s

checkrest:
goto resting

checke:
checkw:
checks:
checkn:
checkne:
checknw:
checksw:
checkse:

move:
put %s

match Nexus%c Dim light filters down from the rusty grate imbedded in the ceiling.
match rat giant rat
match movewait also in
match movewait also here
match movewait Obvious
match moveback%s You can't
matchwait
rat:
match movewait also in
match movewait also here
match attack%c Obvious
matchwait

movewait:
waitfor exit
goto move

Nexus0:
Nexus1:
Nexus2:
Nexus3:
Nexus4:
Nexus5:
Nexus6:
Nexus7:
Nexus8:
Nexus9:
put exp
match logoff ghost
match Nexus10 Your mind can't take much more of this!
match pickdir Your mind is numbed.
match pickdir Your mind is becoming numbed.
match pickdir Your mind is muddled.
match pickdir Your mind is clear.
match pickdir Your mind is fresh and clear.
match pickdir Your mind is as clear as a bell
matchwait


Nexus10:
move go grate
move s
move w
move go op
save rest
Resting:

pause 60
put exp
match logoff ghost
match Resting Your mind can't take much more of this!
match Resting Your mind is numbed.
match Resting Your mind is becoming numbed.
match Norest Your mind is muddled.
match Norest Your mind is clear.
match Norest Your mind is fresh and clear.
match Norest Your mind is as clear as a bell
matchwait

Norest:
move go op
move e
move n
move go grate
save e
counter set 0
goto pickdir


attack:
attack0:
attack1:
attack2:
attack3:
attack4:
attack5:
attack6:
attack7:
attack8:
attack9:
put at rat
match waitrt Roundtime
match waitrt wait
match swing You swing
match move Could not find
match search dead
matchwait

waitrt:
pause .5
goto attack

swing:
pause .5
goto attack

search:
put search rat
waitfor You
counter add
echo counted %c searches 10 is rest
goto search%c

search1:
search2:
search3:
search4:
search5:
search6:
search7:
search8:
search9:

attack10:

goto move

search10:
goto expcheck
search11:
search12:
search13:
search14:
search15:
search16:
search17:
search18
search19:
search20:
counter set 10
goto search%c

expcheck:
put exp
match logoff ghost
match moveback Your mind can't take much more of this!
match set8 Your mind is numbed.
match set6 Your mind is becoming numbed.
match set5 Your mind is muddled.
match set3 Your mind is clear.
match set1 Your mind is fresh and clear.
match set0 Your mind is as clear as a bell
matchwait


movebacke:
save w
pause .5
goto move

movebackw:
save e
pause .5
goto move

movebacks:
save n
pause .5
goto move

movebackn:
save s
pause .5
goto move

movebackne:
pause .5
save sw
goto move

movebackse:
pause .5
save nw
goto move

movebacknw:
pause .5
save se
goto move

movebacksw:
pause .5
save ne
goto move


set9:
counter set 9
goto move

set8:
counter set 8
goto move

set7:
counter set 7
goto move

set6:
counter set 6
goto move

set5:
counter set 5
goto move

set4:
counter set 4
goto move

set3:
counter set 3
goto move

set2:
counter set 2
goto move

set1:
counter set 1
goto move

set0:
couner set 0
goto move

pickdir:

put time

match picke 0 by
match pickw 1 by
match picks 2 by
match pickn 3 by
match pickne 4 by
match picksw 5 by
match picknw 6 by
match pickse 7 by
match pickne 8 by
match picknw 9 by
matchwait


picke:
save e
goto move

pickw:
save w
goto move

pickn:
save n
goto move

picks:
save s
goto move

pickne:
save ne
goto move

pickse:
save se
goto move

picknw:
save nw
goto move

picksw:
save sw
goto move

labelError:
goto pickdir

------------------
'lood reg

Hi ho , hi ho, to the front we go... reg