PDA

View Full Version : kobolds and rats 0-10



landy
11-18-2007, 08:00 PM
this script alternates between hunting kobolds and rats, for a little variety. made with/for stormfront.

start:
put look
match hunting [Abandoned Sewer
match hunting [Wehnimer's Sewer
match resting1 [Town Well
match logoff [Consultation
match logoff [Scripting
match logoff [The Cell
matchwait

hunting:
put look
match checkroom giant rat
match compass Obvious paths
match compass Obvious exits
matchwait

mover1:
pause 1
put n
match checkroom giant rat
match mover3 [Wehnimer's
match mover2 You can't go
match mover1 Obvious
match logoff stand up
matchwait

mover2:
pause 1
put s
match checkroom giant rat
match mover1 You can't go
match mover2 Obvious
match logoff stand up
matchwait

mover3:
pause 1
put w
match checkroom giant rat
match mover4 You can't go
match mover3 Obvious
match mover1 [Wehnimer's
match logoff stand up
matchwait

mover4:
pause 1
put e
match checkroom giant rat
match mover4 Obvious
match mover3 You can't go
match logoff stand up
matchwait

checkroom:
put look
match attack Obvious
match compass Also here
match logoff [The Cell
match logoff [Scripting
match logoff [Consultation
matchwait

compass:
put look
match mover1 north, south
match mover4 east, west
match mover2 south
match mover3 west
match mover1 [Wehnimer's
match logoff [The Cell
match logoff [Scripting
match logoff [Consultation
matchwait

attack:
put target rat
put stance off
goto attack2

attack2:
put kill
match dead dies.
match wait1 ...wait
match compass currently have no
match logoff stunned.
match logoff You are a
match dead already dead
match logoff effect
match wait1 Roundtime
matchwait

dead:
pause 1
put stance defense
put skin rat
match getit You skinned
match dead2 botched
matchwait

getit:
put stow right
pause .5
put get pelt
pause .5
put stow right
pause .5
put gird
goto dead2

dead2:
put search rat
put exp
match movehome Your mind can't
match hunting Your mind is
matchwait

movehome:
put look
match moveh1 north, south
match moveh2 east, west
match moveh3 south
match moveh4 west
matchwait

moveh1:
pause .5
put n
match gohome [Wehnimer's
match moveh1 [Abandoned
match moveh3 You can't go
match logoff stand up
matchwait

moveh2:
pause .5
put e
match gohome [Wehnimer's
match moveh2 [Abandoned
match moveh4 You can't go
match logoff stand up
matchwait

moveh3:
pause .5
put s
match gohome [Wehnimer's
match movehome You can't go
match moveh3 [Abandoned
match compass can't go
match logoff stand up
matchwait

moveh4:
pause .5
put w
match gohome [Wehnimer's
match movehome You can't go
match moveh4 [Abandoned
match compass can't go
match logoff stand up
matchwait

gohome:
put go grate
move s
move w
move w
move w
move w
put go roo
move w
move w
move w
move w
put cli rub
move n
put cli rop
move s
move nw
move n
move n
move e
put go shop
pause .5
stow all
put remove pack
put sell pack
put wear pack
pause .5
move out
move w
move s
move s
move s
put go bank
put go arc
pause .5
put depo all
put go arc
move out
move e
put go well
move ne
move nw
put stow all
put sit
goto resting1

resting1:
put exp
match torest Your mind can't take much more
match torest Your mind is numbed
match torest Your mind is becoming numbed
match gohuntx Your mind is muddled
match gohuntx Your mind is clear
match gohuntx Your mind is fresh and clear
match gohuntx Your mind is as clear
matchwait

torest:
pause 200
goto resting1

gohunt:
pause 1
put stand
match gohunt struggle
match gohunt2 already
match gohunt2 You stand back up
matchwait

gohunt2:
move se
move sw
put cli rop
move s
put cli rub
move e
move e
move e
move e
put go roo
move e
move e
move e
move e
move n
put go gra
put stanc def
goto hunting

wait1:
pause 1
goto attack2

logoff:
put quit

gohuntx:
pause 1
put stand
match gohunt2x already
match gohuntx struggle
match gohunt2x stand back
matchwait

gohunt2x:
pause 1
put gird
move se
move sw
move s
move nw
move n
move n
move e
move n
move go gate
move sw
move s
move w
move go patch
move nw
move sw
move d
move go hedg
goto R1

R1:
pause .5
put d
counter set 2
goto checkroomx

R2:
pause .5
put sw
counter set 3
goto checkroomx

R3:
pause .5
put w
counter set 4
goto checkroomx

R4:
pause .5
put nw
counter set 5
goto checkroomx

R5:
pause .5
put e
counter set 6
goto checkroomx

R6:
pause .5
put e
counter set 7
goto checkroomx

R7:
pause .5
put n
counter set 8
goto checkroomx

R8:
pause .5
put w
counter set 9
goto checkroomx

R9:
pause .5
put sw
counter set 10
goto checkroomx

R10:
pause .5
put e
counter set 11
goto checkroomx

R11:
pause .5
put e
counter set 12
goto checkroomx

R12:
pause .5
put u
goto checkexpx

checkexpx:
put exp
match R1 Your mind is
match gohomex Your mind can't
matchwait

checkroomx:
match checkx a kobold
match checkx a big ugly kobold
match logoff [Scripting
match logoff [The Cell
match logoff [Consultation
match R%c% Obvious
match logoff stand up
matchwait

checkx:
put look
match R%c% Also here
match killx Obvious
match logoff [Scripting
match logoff [The Cell
match logoff [Consultation
matchwait

killx:
put target kobold
put stance offens
goto kill2x

kill2x:
put kill
match deadx dies.
match R%c% valid target
match wait2 Roundtime
matchwait

deadx:
pause 1
put stance def
put search kobold
match R%c% referring
match checkx Geez!
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 checkx decays
matchwait

stow1:
put stow right
put get diopside
put stow diopside
put gird
goto checkx

stow2:
put stow right
put get cordierite
put stow cordierite
put gird
goto checkx

stow3:
put stow right
put get ring
put stow ring
put gird
goto checkx

stow4:
put stow right
put get statue
put stow statue
put gird
goto checkx

stow5:
put stow right
put get crystal
put stow crystal
put gird
goto checkx

stow6:
put stow right
put get quartz
put stow quartz
put gird
goto checkx

stow7:
put stow right
put get lapis
put stow lapis
put gird
goto checkx

stow8:
put stow right
put get amethyst
put stow amethyst
put gird
goto checkx

stow9:
put stow right
put get sapphire
put stow sapphire
put gird
goto checkx

stow0:
put stow right
put get gem
put stow gem
put gird
goto checkx

stow11:
put stow right
put get coral
put stow coral
put gird
goto checkx

stow22:
put stow right
put get stone
put stow stone
put gird
goto checkx

stow33:
put stow right
put get jade
put stow jade
put gird
goto checkx

stow44:
put stow right
put get ivory
put stow ivory
put gird
goto checkx

stow55:
put stow right
put get pearl
put stow pearl
put gird
goto checkx

stow66:
put stow right
put get ruby
put stow ruby
put gird
goto checkx

stow77:
put stow right
put get spinel
put stow spinel
put gird
goto checkx

stow88:
put stow right
put get opal
put stow opal
put gird
goto checkx

stow99:
put stow right
put get wand
put stow wand
put gird
goto checkx

stow00:
put stow right
put get nugget
put stow nugget
put gird
goto checkx

stow111:
put stow right
put get diamond
put stow diamond
put gird
goto checkx

stow222:
put stow right
put get jasper
put stow jasper
put gird
goto checkx

stow333:
put stow right
put get emerald
put stow emerald
put gird
goto checkx

stow444:
put stow right
put get topaz
put stow topaz
put gird
goto checkx

stow555:
put stow right
put get zircon
put stow zircon
put gird
goto checkx

stow666:
put stow right
put get garnet
put stow garnet
put gird
goto checkx

stow777:
put stow right
put get tourmaline
put stow tourmaline
put gird
goto checkx

stow888:
put stow right
put get amber
put stow amber
put gird
goto checkx

stow999:
put stow right
put get scroll
put stow scroll
put gird
goto checkx

stow000:
put stow right
put get paper
put stow paper
put gird
goto checkx

stow1111:
put stow right
put get papyrus
put stow papyrus
put gird
goto checkx

stow2222:
put stow right
put get vellum
put stow vellum
put gird
goto checkx

wait2:
pause 1
goto kill2x

gohomex:
move go hed
move u
move ne
move se
move out
move n
move e
move ne
move go gate
move s
move w
move s
move s
move s
move go bank
move go arc
put depo all
move go arc
move out
move e
move go well
move ne
move nw
goto restingx

restingx:
put exp
match torestx Your mind can't take much more
match torestx Your mind is numbed
match torestx 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

torestx:
pause 200
goto restingx

7Seconds
11-19-2007, 02:13 AM
nice! could of used waitfor [text] instead of alot of the wait .5's, would help to prevent crashing the script...Then again I'm not sure how SF works I use the wizard...

landy
11-19-2007, 02:52 AM
If anyone is looking for custom scripts drop me a PM, we can work something out