Recasting a skill/spell

Posted by Stealth on Mon 12 Sep 2022 02:02 AM — 2 posts, 7,635 views.

#0
I'm trying to set up a trig, that when using a skill/spell, pulls out the required runes from the pouch in which they are stored, and to recast said skill/spell, until the desired runes have been acquired.

I have the "pull rune from bag" part done. I just need to get the trigger to send the skill or spell back to the mud again, to fire the trigger again until satisfied.

Here's what I have so far

You don't have (fehu|uruz|thurisaz|ansuz|raidho|kenaz|gebo|wunjo|hagalaz|nauthiz|isa|jera|ihwaz|perthro|elhaz|sowilo|tiwaz|berkano|ehwaz|mannaz|laguz|ingwaz|dagaz|othala).

get %1 from pouch
x


Now I'd like to recast the ability at x. Thanks in advance.
#1
Stealth said:


get %1 from pouch
x


Now I'd like to recast the ability at x. Thanks in advance.


I'm assuming you're wanting to do this over multiple spells or skills, so it's not as simple as "cast <spell>". One way is to set up an alias for casting that stores the spell/skill as a variable, then change 'x' to do the command, supplementing the variable in place of the spell/skill. Then, as long as you do not change the spell variable, it'll cast until successful.