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
➜ Tips and tricks
➜ Alias help needed.
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Wright
(1 post) Bio
|
| Date
| Fri 07 Dec 2012 08:57 AM (UTC) |
| Message
| I'm trying to make an alias with an input: "molest <MOB>" with <MOB> Being anything (AKA .*) with the effect that a lot of commands, seperated with an enter, are executed.
Those commands could range from "strike <MOB>" to
"hellfire <MOB>", <MOB> in the output would refer to <MOB> in the input, with the following result:
Input: "molest golem"
Output: "strike golem"
"kick golem"
"backstab golem"
There is one problem though. in the MUD that I play, Those commands have a chance to "fail" giving the command no effect, and sending a line of text back being one of the following:
for some commands it is:
"You get a mental block mid-way through the casting."
"You lost your concentration."
When the command succeeds, you get a different slab of text:
"Uttering an ancient phrase you wrap a spell of blindness about a <MOB>."
My question now, is: Is is possible to repeat, when you type in the alias: "molest <MOB>" that you repeat the command
"strike <MOB>" until you get a set succeed output from the MUD, then move on to the next one in the list, repeat "kick golem" until you get another set succeed output. etc.
I hope this doesn't confuzzle you, and any hints in the right direction will be a great help. | | Top |
|
| Posted by
| Fiendish
USA (2,558 posts) Bio
Global Moderator |
| Date
| Reply #1 on Fri 07 Dec 2012 01:34 PM (UTC) |
| Message
| |
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.
13,724 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top