well i never asked for spells i said sd runehttps://otland.net/threads/creating-layered-spells-on-9-8.224175/#post-2155490
https://otland.net/threads/how-to-make-wand-loop-trough-all-damage-types-in-lua.227733/#post-2194006
Here you can see how to do it with loops and more combats.
oh ok i dont understand these pages thoRunes are the same as spells, they are just added different in spells.xml so they work with a rune instead of as an instant spell.