Code:
sub EVENT_CAST_BEGIN {
quest::settimer("stopcast", 1);
}
sub EVENT_TIMER {
if ($timer eq "stopcast") {
$client->InterruptSpell();
$client->Message(335, "Stop casting..");
quest::stoptimer("stopcast");
}
}
One way to get it to work.. but shorter spell cast times might be an issue :p