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 ➜ Question about aliases

Question about aliases

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


Posted by Rinor   (16 posts)  Bio
Date Tue 06 Apr 2004 12:16 AM (UTC)
Message
I play Medievia and I have to shift through corpses for eq. At the moment I have to type exam 1.corpse, exam 2.corpse, exam 3.corpse and so on if there are multiple corpses. Is there a way I can do that quicker with an alias/scripting?

I was thinking of having ec as an alias for exam corpse. Then add a number after ec for however many corpses in the room:

ec5 would do exam 5.corpse, exam 4.corpse...

Thanks for any help.
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #1 on Tue 06 Apr 2004 12:26 AM (UTC)
Message
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4022&page=999999

Look at magnums post. His alias (which you can tweak for corpses) will cycle through X ammounts of things, adding the proper number.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Rinor   (16 posts)  Bio
Date Reply #2 on Tue 06 Apr 2004 01:40 AM (UTC)
Message
At first I couldn't get Magnum's alias to work until I figured out that my main script file was written in Javascript. And his alias is written in Vbscript. Bleh so can anyone write the equivalent of that alias in Javascript? Thanks.
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,329 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.