The Players Corner Archive

Home > Scripting Discussion > Rat

Rat

11:42 AMThis script is simple, and does NOT roleplay. It does, however, hunt till fried, rest till clear, and then head back out. It won't poach and doesn't bother with pelts. It is loopable, but use it with the script timer removal crack posted in the scripting discussion. Start it in the catacombs anywhere before the grate, or at the niche.


#rat.cmd

goto %sStart

Start:
save Hunt
goto %sStart

Rest:
save Rest

RestStart:
put exp
match Pause Your mind can't take much more
match Pause Your mind is numbed.
match Pause Your mind is becoming numbed.
match Pause Your mind is muddled.
match Stand Your mind is clear.
match Stand Your mind is fresh and clear.
match Stand Your mind is as clear as a bell.
matchwait

Pause:
pause 60
goto RestStart

Stand:
save Hunt
put stand
match HuntStart You stand back up.
match HuntStart You are already standing.
match Stand You struggle
matchwait

HuntStart:
Start:
put look
match Niche This small niche between two buildi
match Room1 Several niches in the stone walls o
match Room2 The stone floor is slimy and treach
match Room3 The walls of this low stone tunnel
match Room4 The air is almost oppressive in thi
match Room5 Thick patches of slimy lichen cover
match Room6 A faint glow filters into the branc
match Room7 The passage widens almost to the po
match Room8 The dank, twisting passage bends fr
match Room9 The tunnel continues on in a seemin
match Room10 The trickle of water running along
match Room11 The otherwise less than interestin
match Room12 Thick, damp air makes it hard to b
match Room12a This suffocatingly close room is
match Room13 A clammy chill descends upon your
match Room14 Dark openings in the walls remind
match Room15 The tunnel continues here with lit
match Room16 This smallish, circular chamber se
match Room17 A warm gust of air counteracts the
match Room18 The tunnel looks dry and clean in
match Room19 The path dips into a trough here,
match Room20 Brackish water seeps in through th
match Room21 Most of the roof has collapsed her
match Room22 A warm gust of air counteracts the
match Room23 You are somewhat out of breath, an
match Logout Obvious exits: none
matchwait

Check:
put look
match HuntStart Also in the room:
match Rat Obvious
matchwait

Rat:
put look rat
match Search dead
match Fight It has
match HuntStart I could not find
match Stunned You are still stunned.
matchwait

Search:
pause 1
put search rat
waitfor You search
goto Experience

Fight:
put kill rat
pause 1
goto Rat

Experience:
put exp
match Return Your mind can't take much more
match Rat Your mind is numbed.
match Rat Your mind is becoming numbed.
match Rat Your mind is muddled.
match Rat Your mind is clear.
match Rat Your mind is fresh and clear.
match Rat Your mind is as clear as a bell.
match Rat You are a ghost!
matchwait

Niche:
move e
move n
move ne
move e
move e
move e
move n
move e
move e
move s
move s
move go opening
put look rat
match Check You see a
match Room1 I could not find
matchwait

Room1:
move e
put look rat
match Check You see a
match Room2 I could not find
matchwait

Room2:
move ne
put look rat
match Check You see a
match Room3 I could not find
matchwait

Room3:
move sw
move w
move w
put look rat
match Check You see a
match Room4 I could not find
matchwait

Room4:
move w
put look rat
match Check You see a
match Room5 I could not find
matchwait

Room5:
move nw
put look rat
match Check You see a
match Room6 I could not find
matchwait

Room6:
move w
put look rat
match Check You see a
match Room7 I could not find
matchwait

Room7:
move w
put look rat
match Check You see a
match Room8 I could not find
matchwait

Room8:
move sw
put look rat
match Check You see a
match Room9 I could not find
matchwait

Room9:
move se
put look rat
match Check You see a
match Room10 I could not find
matchwait

Room10:
move e
put look rat
match Check You see a
match Room11 I could not find
matchwait

Room11:
move e
put look rat
match Check You see a
match Room12 I could not find
matchwait

Room12:
move ne
move e
move e
move e
move go hole
Midpath:
move go opening
put look rat
match Check You see a
match Room13 I could not find
matchwait

Room13:
move w
put look rat
match Check You see a
match Room14 I could not find
matchwait

Room14:
move w
put look rat
match Check You see a
match Room15 I could not find
matchwait

Room15:
move w
put look rat
match Check You see a
match Room16 I could not find
matchwait

Room16:
move e
move e
move e
move e
put look rat
match Check You see a
match Room17 I could not find
matchwait

Room17:
move s
put look rat
match Check You see a
match Room18 I could not find
matchwait

Room18:
move n
move se
put look rat
match Check You see a
match Room19 I could not find
matchwait

Room19:
move se
put look rat
match Check You see a
match Room20 I could not find
matchwait

Room20:
move nw
move nw
move e
put look rat
match Check You see a
match Room21 I could not find
matchwait

Room21:
move w
move n
put look rat
match Check You see a
match Room22 I could not find
matchwait

Room22:
move up
put look rat
match Check You see a
match Room23 I could not find
matchwait

Room23:
move down
move s
move w
move go opening
move go hole
move w
put look rat
match Check You see a
match Room1 I could not find
matchwait

Return:
put look
match Return1 Several niches in the stone walls o
match Return2 The stone floor is slimy and treach
match Return3 The walls of this low stone tunnel
match Return4 The air is almost oppressive in thi
match Return5 Thick patches of slimy lichen cover
match Return6 A faint glow filters into the branc
match Return7 The passage widens almost to the po
match Return8 The dank, twisting passage bends fr
match Return9 The tunnel continues on in a seemin
match Return10 The trickle of water running along
match Return11 The otherwise less than interestin
match Return12 Thick, damp air makes it hard to b
match Return13 A clammy chill descends upon your
match Return14 Dark openings in the walls remind
match Return15 The tunnel continues here with lit
match Return16 This smallish, circular chamber se
match Return17 A warm gust of air counteracts the
match Return18 The tunnel looks dry and clean in
match Return19 The path dips into a trough here,
match Return20 Brackish water seeps in through th
match Return21 Most of the roof has collapsed her
match Return22 A warm gust of air counteracts the
match Return23 You are somewhat out of breath, an
matchwait

Back:
move go opening
move n
move n
move w
move w
move s
move w
move w
move w
move sw
move s
move w
goto Rest

Return1:
goto Back

Return2:
move w
goto Return1

Return3:
move sw
goto Return2

Return4:
move e
goto Back

Return5:
move e
goto Return4

Return6:
move se
goto Return5

Return7:
move e
Goto Return6

Return8:
move e
Goto Return7

Return9:
move ne
Goto Return8

Return10:
move e
move e
move ne
goto Return5

Return11:
move e
move ne
goto Return5

Return12:
move ne
goto Return5

Return13:
move go opening
move go hole
move w
goto Back

Return14:
move e
goto Return13

Return15:
move e
goto Return14

Return16:
move e
goto Return15

Return17:
move w
goto Return13

Return18:
move n
goto Return17

Return19:
move nw
goto Return 17

Return20:
move nw
goto Return19

Return21:
move w
goto Return17

Return22:
move s
goto Return17

Return23:
move d
goto Return22

Stunned:
put stance defensive
match Stunned You are still stunned.
match Logout You are now in a defensive stance.
matchwait

Logout:
put exit

[This message has been edited by LordGanryu (edited 02-09-2002).] reg