PDA

View Full Version : SF Rapid Fire



Hightower
07-02-2012, 06:59 AM
# Usage:
# Set a default spell: .rincant 9 0 3
# Use the default spell: .rincant
# Set or change your casting stance: .rincant stance offensive

DEBUG OFF
IF_3 GOTO SPELLDEFAULT
IF_2 GOTO SETSTANCE
IF_1 GOTO START2
GOTO START

SETSTANCE:
SETVARIABLE stance2 %1% %2
ECHO
ECHO Your casting stance has been set to %2%.
ECHO
EXIT

SPELLDEFAULT:
SETVARIABLE rapidspell %1%%2%%3%%4%
COUNTER SET %rapidspell
ECHO
ECHO The default spell # has been set to %rapidspell%.
ECHO
EXIT

START:
COUNTER SET %rapidspell
put prepare %c
put %stance2
GOTO INCANT

START2:
COUNTER SET %1
put prepare %c
put %stance2
GOTO INCANT

INCANT:
put incant %c
put incant %c
put incant %c
put incant %c
GOTO CHECKTARGET

CHECKTARGET:
MATCH INCANT [Spell re-prepared]
MATCH STANCED You do not currently have a target.
MATCH STANCED Wait
put incant %c
MATCHWAIT

STANCED:
put stance defensive
put release
GOTO LOOT

LOOT:
MATCH LOOT You search
MATCH EXIT Could not find
put loot
put stow left
MATCHWAIT

EXIT:
exit