Hey!
I'm trying to find information, but I can't find any, or I'm not gifted enough to realize when I actually find any, or info on how to make them.
What I would like to do, is write an alias like "buff <player>".
Which in turn should:
Cast buff spell A on player.
if trigger for spell is cast successfully is viewed, then cast spell B.
If trigger for spell failed, cast A again. Then continue.
For example:
cast 'shield' <player>
If it returns "You hear a high-pitched shriek as the air hardens around you, forming a shield." -> Cast 'sanctuary' <player>. And so on.
If it returns "You lose your concentration." then cast 'shield' <player> again and continue after successful cast.
Would this be easy attainable? I'm sorry for asking if there are resources out there that already answer this, which there probably is, but I couldn't find out how to do it.
I'm trying to find information, but I can't find any, or I'm not gifted enough to realize when I actually find any, or info on how to make them.
What I would like to do, is write an alias like "buff <player>".
Which in turn should:
Cast buff spell A on player.
if trigger for spell is cast successfully is viewed, then cast spell B.
If trigger for spell failed, cast A again. Then continue.
For example:
cast 'shield' <player>
If it returns "You hear a high-pitched shriek as the air hardens around you, forming a shield." -> Cast 'sanctuary' <player>. And so on.
If it returns "You lose your concentration." then cast 'shield' <player> again and continue after successful cast.
Would this be easy attainable? I'm sorry for asking if there are resources out there that already answer this, which there probably is, but I couldn't find out how to do it.