Retreat (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(New page: Category:Scripts == Storm Front Script Module == <p>This is a self contained module that will effectively retreat you too missle range and then return you to any section you designate...)
 
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Script
[[Category:Scripts]]
|cat=combat
|fe=StormFront
|auth=[[User:DekeFantle|Deke]]
}}


== Storm Front Script Module ==
== Storm Front Script Module ==
Line 11: Line 15:
Pause 1
Pause 1
RETREAT:
RETREAT:
Matchre RETREAT /to pole range|You stop advancing/i
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 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 %RETREATRETURN% /You retreat from combat|as far away as you can get|You sneak back out of combat/i
Matchre RETREATW /Sorry,|\.\.\.wait|\.\]/i
Matchre RETREATW /Sorry,|\.\.\.wait/i
put retreat
put retreat
MatchWait
MatchWait

Latest revision as of 12:56, 24 March 2011

Retreat (script)
Category combat
Front-end StormFront
Author Deke


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