JostakDR TM (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (added category of "magic")
 
Line 1: Line 1:
{{Script
{{Script
|cat=combat
|cat=combat, Magic
|fe=StormFront
|fe=StormFront
|auth=[[User:JostakDR|JostakDR]]
|auth=[[User:JostakDR|JostakDR]]

Latest revision as of 20:38, 16 May 2016

JostakDR TM (script)
Category combat,Magic
Front-end StormFront
Author JostakDR


This is a stupid simple TM spell spam casting script I threw together. It will cast whatever spell you want, at whatever prep you want, and will face a specified target. It has a short pause, if any corpses are present they will be LOOTed. I added the face (target) option so it didn't try to kill my zombies/constructs.


echo ****************
echo Usage: TM (Spell) (Prep Amount) (Target Critter)
echo ****************

top:
pause 1
match pause You close your
match pause You are already
match top ...wait
put prep %1 %2
matchwait

pause:
put loot
pause 1
goto cast

cast:
match top 1 second
match face You can't
match top Your spell
match top You don't have
match cast ...wait
put cast
matchwait

face:
match cast You turn
match pause There is nothing
match pause What's the point
match pause Face what?
match face ...wait
put face %3
matchwait