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 ➜ Tips and tricks ➜ Alias's/triggers

Alias's/triggers

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


Posted by Jorake   (8 posts)  Bio
Date Tue 01 Nov 2011 12:53 AM (UTC)
Message
I wrote a long time ago about needing help for triggers/alias's. I felt a bit made fun of so i ended up giving up on mush and going back to wintin95. I recently started playing a mud called Duris. durismud.com 7777 for anyone who wants to check it out. This mud comes with a map on the roads etc, that shows zone entrances etc etc. Most things on the map do not show up on wintin95, so i decided to try MUSH again.

The problem I am having is with alias's mostly. There is a spell called "Protect Soul" which is castable on others etc. I wanted to shorted this down to "prot". So i can type prot *name* and it cast on the target. But so far it's not working. The way I do it on wintin is #al {prot}{c 'protect soul' %0}. Any help with this would be much appreciated.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 01 Nov 2011 01:31 AM (UTC)
Message
We don't make fun of people intentionally here. :)

Perhaps if you post what you tried, it helps to see what is wrong.


Template:copying For advice on how to copy aliases, timers or triggers from within MUSHclient, and paste them into a forum message, please see Copying XML.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Jorake   (8 posts)  Bio
Date Reply #2 on Tue 01 Nov 2011 02:29 AM (UTC)
Message
<aliases>
<alias
match="^prot$"
enabled="y"
regexp="y"
sequence="100"
>
<send>cast 'protect soul'</send>
</alias>
</aliases>


Is this what you mean?
Top

Posted by Jorake   (8 posts)  Bio
Date Reply #3 on Tue 01 Nov 2011 02:51 AM (UTC)
Message
OK:) I'm sorry. I should of taken the time to skim through all of the other files. I didn't even notice the "getting started" forum post. Thanks for the help though, gonna use these a bit better from now on!
Top

Posted by Jorake   (8 posts)  Bio
Date Reply #4 on Tue 01 Nov 2011 03:05 AM (UTC)
Message
There is one thing I am noticing though. I'm looking back at old post and seeing a different kind of client model being used than what i have? The one I have has a key that says "convert to regular expression"
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #5 on Tue 01 Nov 2011 03:20 AM (UTC)
Message
Jorake said:

There is a spell called "Protect Soul" which is castable on others etc.


Template:faq=50 Please read the MUSHclient FAQ - point 50.





Quote:

The one I have has a key that says "convert to regular expression"


That was added a while back.

- 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.


24,167 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.