Retreat (script)

From Elanthipedia
Jump to navigation Jump to search


Storm Front Script Module

This is a self contained module that will effectively retreat you too missle range and then return you to any section you designate. The RETREATRETURN Variable is the place holder to designate what you want to do after retreating.

SetVariable RETREATRETURN RETDONE
GoTo RETREAT

RETREATW:
Pause 1
RETREAT:
Matchre RETREAT /\.\]|to pole range|You stop advancing|pole weapon range on you|melee range on you/i
Matchre RETREATW /are unable to get away|You try to back away/i
Matchre %RETREATRETURN% /You retreat from combat|as far away as you can get|You sneak back out of combat/i
Matchre RETREATW /Sorry,|\.\.\.wait/i
put retreat
MatchWait

RETDONE:
ECHO You are at missle range!
Exit