Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Recasting a skill/spell

Recasting a skill/spell

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Stealth   (1 post)  Bio
Date Mon 12 Sep 2022 02:02 AM (UTC)
Message
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.
Top

Posted by AdInfinitum   (74 posts)  Bio
Date Reply #1 on Thu 15 Sep 2022 04:21 PM (UTC)
Message
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.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


4,162 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.