Let me make an analogy for you to explain why I'm resistant to simply making the trigger for you:
Imagine making a triggered spell is like baking a specific type of cake for your birthday. You know what you want to eat but don't know how to make it yourself, so you ask your neighbors (us on the forum) if they have a recipe. Your neighbors don't have a recipe for that type of cake, so you search around a bit for a recipe someone else has written up that seems similar to what you want to make (the Greater Bash you found). You go back to your neighbors and instead of not helping you again they say "the difference between that recipe and what you want to bake is instead of cinnamon you should use nutmeg, and you're going to need to add an extra egg after step 5."
Instead of trying to bake the cake yourself, you then ask them if they can just make it for you.
Your neighbors are intelligent and know that if they help you out now you won't have learned how to make simple modifications to a recipe and you will definitely come back and ask them to make another one next year when you inevitably have another birthday cake request, so they refuse. But they don't want to be rude, so they reiterate their earlier instructions with more information. "Nutmeg will make the frosting taste wonderful, so you can add a little bit at a time until it tastes just right to you. Here's a video of how to crack an egg:
video."
Then they give you some nutmeg and a whole carton of eggs from their pantry.
Instead of going home to
try it yourself even one time you beg them to come over to crack the egg for your and add just the right amount of nutmeg, since you're scared you'll mess up the cake and it'll only take them a second because clearly they know what they're doing. You neighbors, realizing you are jumping through hoops to avoid learning anything for yourself, slam the door in your face and ignore your calls forever.
________
I showed you exactly
what to add to the code. I showed you
where you should add it. I explained
why you should add it. I listed
alternatives. You have all of the tools necessary to learn this yourself-- and imagine all the cool spells you will be able to modify when you've learned a little bit about triggers!
Yet you have done
nothing. And yes, this is an incredible easy fix; my comparison to cracking eggs and adding pinches of nutmeg was chosen intentionally.