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
➜ Skill auto-repeater
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Xandler
(52 posts) Bio
|
Date
| Wed 13 Jan 2021 02:23 PM (UTC) |
Message
| I am trying to rebuild triggers as I have lost everything due to a HDD failure which I wasn't expecting.
I have it somewhat working, but I want it to trigger off the damage send the skill ONCE per round and repeat until everything is dead, right now it is triggering off the autocompass within the mud when I look and fires (I don't want that as I don't want to keep looking)
<triggers>
<trigger
expand_variables="y"
group="aoe"
match="[(\d+)]$"
name="aoe1"
regexp="y"
send_to="12"
sequence="100"
>
<send>Send '@aoe'
EnableTrigger ("aoe1", false)</send>
</trigger>
<trigger
enabled="y"
group="aoe"
keep_evaluating="y"
match="You jump into the sky while charging a large amount of energy into your shield. Shockwaves of ki begin to emit around the edges of your shield as you rush towards your enemy, crashing into the ground causing an earthquake of seismic proportions."
regexp="y"
send_to="12"
sequence="100"
>
<send>EnableTrigger ("aoe1", true)</send>
</trigger>
</triggers>
I'm not sure what's wrong with this as I have copy and pasted this from someone else and it is working differently (it goes off the skills damage and not the compass)
Is what it should match and fire ONCE per round (it hits multiple NPCs if applicable). Do I have some global preference not enabled to make this work properly? It's a fresh download of the latest version of mushclient so everything is the default. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Thu 21 Jan 2021 01:02 AM (UTC) Amended on Thu 21 Jan 2021 01:03 AM (UTC) by Nick Gammon
|
Message
| What does the compass look like? Your trigger will match anything with digits at the end of the line.
Perhaps you mean to match on:
Square brackets on their own (without the backslash) starts a set. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
8,383 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top