Go (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:


{{tt|.go [destination]}}
{{tt|.go [destination]}}
:Acceptable locations include anything in the town's DIR list.
:Acceptable destinations include any place that is on the town's {{com|direction}} list.


==Script==
==Script==

Latest revision as of 11:41, 14 March 2011

Go (script)
Category travel
Front-end StormFront
Author Isharon


Description

This script works in any town that has a direction system, such as The Crossing and Riverhaven.

The concept is based on an old script from DRSecrets that used the same basic mechanism. However, unlike that script, this script will not fail to recognize some of the directions or get stuck in infinite DIR loops. One major advantage of the script over previous versions is that since it will type OUT for you, you no longer need to pause to start the script in high-steal areas, such as outside the Crossing bank.

For a version that drags another player, see GoDragger (script).

Syntax

.GO [DESTINATION]

Acceptable destinations include any place that is on the town's DIRECTION list.

Script

start:

put dir %1 %2

match out out.
match down down.
match up up.
match northeast northeast.
match northwest northwest.
match southeast southeast.
match southwest southwest.
match east east.
match north north.
match south south.
match west west.
match door door
match arch arch
match bazaar bazaar.
match bridge bridge.
match bush bush.
match curtain curtain.
match drape drape.
match flap flap.
match footpath footpath.
match opening opening.
match path path.
match pier pier.
match ramp ramp.
match room room.
match spire spire.
match square square.
match stair stair
match step step
match trail trail.
match trees trees.
match gate gate
match academy academy
match armory armory.
match arms arms.
match bank bank.
match building building.
match cottage cottage.
match dock dock.
match forge forge.
match guesthouse guesthouse.
match guild guild.
match hall hall.
match hospital hospital.
match house house.
match hovel hovel.
match inn inn.
match office office.
match pawnshop pawnshop.
match salon salon.
match shed shed.
match shop shop.
match store store.
match structure structure.
match temple temple.
match tent tent.
match weaponsmith weaponsmith
match end you're there already!
match end I don't know the way
matchwait

out:

move out
goto start

down:

move down
goto start

up:

move up
goto start

northeast:

move northeast
goto start

northwest:

move northwest
goto start

southeast:

move southeast
goto start

southwest:

move southwest
goto start

east:

move east
goto start

north:

move north
goto start

south:

move south
goto start

west:

move west
goto start

door:

move go door
goto start

arch:

move go arch
goto start

bazaar:

move go bazaar
goto start

bridge:

move go bridge
goto start

bush:

move go bush
goto start

curtain:

move go curtain
goto start

drape:

move go drape
goto start

flap:

move go flap
goto start

footpath:

move go footpath
goto start

opening:

move go opening
goto start

path:

move go path
goto start

pier:

move go pier
goto start

ramp:

move go ramp
goto start

room:

move go room
goto start

spire:

move go spire
goto start

square:

move go square
goto start

stair:

put climb stair
pause
put go stair
pause
goto start

step:

put climb step
pause
put go step
pause
goto start

trail:

move go trail
goto start

trees:

move go trees
goto start

gate:

move go gate
goto start

academy:

move go academy
goto start

armory:

move go armory
goto start

arms:

move go arms
goto start

bank:

move go bank
goto start

building:

move go building
goto start

cottage:

move go cottage
goto start

dock:

move go dock
goto start

forge:

move go forge
goto start

guesthouse:

move go guesthouse
goto start

guild:

move go guild
goto start

hall:

move go hall
goto start

hospital:

move go hospital
goto start

house:

move go house
goto start

hovel:

move go hovel
goto start

inn:

move go inn
goto start

office:

move go office
goto start

pawnshop:

move go pawnshop
goto start

salon:

move go salon
goto start

shed:

move go shed
goto start

shop:

move go shop
goto start

store:

move go store
goto start

structure:

move go structure
goto start

temple:

move go temple
goto start

tent:

move go tent
goto start

weaponsmith:

move go weaponsmith
goto start

end:

put dir stop