Exit Crocs (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Created page with "{{Script |cat=travel |fe=Genie, StormFront |auth=GnomishInquisition }} ==Description== This script is meant to be a crude script to assist in nav...")
 
m (→‎Script: Edited formatting.)
 
Line 11: Line 11:
==Script==
==Script==


<pre>setVariable move look
<pre>
setVariable move look
counter set 0
counter set 0


Line 34: Line 33:
match MoveMatch You retreat from combat.
match MoveMatch You retreat from combat.
put ret
put ret
matchwait


ShackMatch:
ShackMatch:
Line 100: Line 100:
match GoReed you may only
match GoReed you may only
put go reed
put go reed
matchwait
wait


RetReed:
RetReed:

Latest revision as of 15:37, 10 August 2015

Exit Crocs (script)
Category travel
Front-end Genie,StormFront
Author GnomishInquisition


Description

This script is meant to be a crude script to assist in navigating the swamp in which Blue-Bellied Crocodiles reside. Just type .exitcrocs. It *should* work in both Genie and Stormfront. There are a number of improvements I could make, but I wanted it to be rather FE agnostic.

Script

setVariable move look
counter set 0

MoveMatch:
counter add 1
	pause
	match MoveMatch ...wait
	match MoveMatch you may only
	match ShackMatch You also see a ruined shack
	match Moverandom10 You can't go there
	match LREED Obvious
	put %move
	matchwait

RetMove:
pause
match RetMove ...wait
match RetMove you may only
match RetMove You retreat back to pole range.
match MoveMatch You are already as far away as you can get!
match MoveMatch You retreat from combat.
put ret
matchwait

ShackMatch:
pause
put w
wait
pause
put nw
goto LReed

LReed:
pause
	match MoveRandom%c I could not find what you were referring to.
	match GoReed You see nothing unusual
	match LReed ...wait
	match LReed you may only
	put look reed
	matchwait

MoveRandom1:
setvariable move n
goto MoveMatch

MoveRandom2:
setvariable move ne
goto MoveMatch

MoveRandom3:
setvariable move e
goto MoveMatch

MoveRandom4:
setvariable move se
goto MoveMatch

MoveRandom5:
setvariable move s
goto MoveMatch

MoveRandom6:
setvariable move sw
goto MoveMatch

MoveRandom7:
setvariable move w
goto MoveMatch

MoveRandom8:
setvariable move nw
goto MoveMatch

MoveRandom9:
setvariable move n
goto MoveMatch


MoveRandom10:
counter set 1
goto MoveRandom1

GoReed:
pause
match RetReed You are engaged to
match End The Marsh, Stone Road
match GoReed ...wait
match GoReed you may only
put go reed
matchwait

RetReed:
pause
match RetReed ...wait
match RetReed you may only
match RetReed You retreat back to pole range.
match GoReed You are already as far away as you can get!
match GoReed You retreat from combat.
put ret
matchwait

End: