Spell ReCasting
In addition to casting spells when
asleep, it would be nice if spells would also be cast again if they fail.
Following is the stuff you'll need to
make, or you can  download a .mud file with only the recasting in it, for you
importing pleasure.
Alias:  cast
#T+ spellfailcheck
#T+ SpellFailure
#var Spell {%1 %2 %3 
%4 %5}
cas @spell
 
Trigger, class=  SpellFailure
Pattern:
{You lost your concentration! Stupid thing, silly
  git.|A pink 
elephant appears in front of you, that's confusing!|As you start to 
concentrate|Blue sparks fly from your fingers, hitting you in the face! 
*Ouch*|Concentration is not your strongest side. It leaves you NOW!|Impossible, 
your concentration left you, as a fly crawled in your ear!|Mother Mary comes to 
you, speaking words of wisdom: 'Let it be!'|Segmentation violation, mana 
dumped.|Someone snaps his fingers in front of you, and you lose your 
concentration!|You can't concentrate as a small frog jumps around you, croaking 
annoying!|You make your thoughts disappear! What did you want to cast?|You 
sizzle with energy, but then you forget the thing you wanted to cast!|Your brain 
vanishes, as you try to cast! Wait a little bit, maybe it reappears.|Your mind 
is drifting away as you start uttering the words!|You make the 
heaven}
Commands:
cas @spell
 
Trigger, class=spellfailcheck
Pattern:
Ok.$
Commands:
#T- SpellFailure
#T- 
spellfailcheck
spell=0
  Trigger,
  class=spellfailcheck
  Pattern:
  You can't summon enough energy to cast the spell.
  Commands:
  #T- SpellFailure
  #T- spellfailcheck
  spell=0