Question about aliases

Posted by Rinor on Tue 06 Apr 2004 12:16 AM — 3 posts, 16,017 views.

#0
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.
USA #1
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.
#2
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.