We need to write a loop that periodically checks for the presence of a spell and outputs the corresponding message:function AlaricSpec()
while 1 do
if ... then
end
sleep(1)
end
end
Okay, progress is being made... now it writes "Trigger not found" in the console, and before that, it just said that the hero has no army.