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
➜ help me in this trigger..
help me in this trigger..
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Jjaacckk
(7 posts) Bio
|
Date
| Sun 11 Jul 2004 04:09 PM (UTC) |
Message
| i want a trigger that when the enemy send msg atacker begins focusing their energy. the trigger after 2 seconds send the command Deflect, but if the enemy send the msg again between the delay of the first trigger, the first trigger is being canceled and only the second trigger send the deflect, the command deflect of the first trigged is being canceled, srry for my bad inglish if someone can help me thnx a lot :) | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #1 on Sun 11 Jul 2004 08:13 PM (UTC) |
Message
| Can you give us the exact output that is recieved? We cant really help trigger things if we dont know the EXACT (including leading and trailing spaces) text (copy/paste, dont retype). |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Jjaacckk
(7 posts) Bio
|
Date
| Reply #2 on Sun 11 Jul 2004 10:33 PM (UTC) |
Message
| the msg of trigger:
* Enemy begins a low sweep motion...
after 2 seconds i need to send this command for defense:
Parry Low
if the enemy send 2 atacks in this delay:
* Enemy begins a low sweep motion...
* Enemy begins a low sweep motion...
i want to disable the parry low for the first atack and send only 1 parry low for the finish atack
| Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #3 on Mon 12 Jul 2004 12:31 AM (UTC) |
Message
| Is there a * in front? And also, can enemy be more than one word?
If there is an asterisk, and only one word, then you can use this:
(copy from here)
<triggers>
<trigger
enabled="y"
ignore_case="y"
keep_evaluating="y"
match="^\* (\w+) begins a low sweep motion\.\.\.$"
regexp="y"
send_to="12"
sequence="100"
>
<send>Addtimer "DeflectTimer", 0, 0, 2, "Parry Low", 17415, ""</send>
</trigger>
</triggers>
(to here, and click "paste" in your trigger window) |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Jjaacckk
(7 posts) Bio
|
Date
| Reply #4 on Mon 12 Jul 2004 07:27 AM (UTC) |
Message
| there a * in front and enemy have various names | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #5 on Mon 12 Jul 2004 08:32 AM (UTC) |
Message
| yes, various names, but is it names like:
bob, Joe, Nick?
or names like
Phil the Wonder Pony, or Bill the disgruntled postman?
Basically, the "enemy" more than one word (in a particular name).
If its the former, then that trigger will work as is. |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Jjaacckk
(7 posts) Bio
|
Date
| Reply #6 on Mon 12 Jul 2004 04:49 PM (UTC) |
Message
| the name of enemy is more than one word | 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.
15,628 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top