SpellCast.mac (Missing Spell Components)
Posted: Tue Jan 07, 2003 12:30 pm
Thought this might be helpful to some. When using SpellCast.mac I noticed that it wasn't responding as I expected to missing spell components, so I added the following to the library:
I'm working on the assumption that you can glean what was snipped and know the appropriate place to stick each line in the code.
Code: Select all
[color=blue]#event [/color]MissingComponent "[color=cyan]You are missing some required spell components.[/color]"
[color=blue]#define[/color] CAST_MISSING 8
[color=green]|** Under the :WaitCast Label **|[/color]
[color=blue]/doevents[/color] MissingComponent
[color=blue]Sub [/color]Event_MissingComponent
[color=blue]/varset[/color] CastStatus CAST_MISSING
/return