spellend script event is sent by the caster to every entity (*) when a spell ends or is cancelled.
^$param1 will be set to the spell name and
^#param2 is the caster level. With Arx Libertatis 1.3 or newer,
^$param3 holds the spell ID.
(*) For the Confuse () spell, this event is only sent to the spell's target.